How to get ads from the Google Ads Transparency Center
Get an advertiser’s Google Search, YouTube and Shopping ads from the Ads Transparency Center by domain or advertiser id, 100 a page, with where they ran.
The Google Ads Transparency Center lists the ads verified advertisers run on Google Search, YouTube, Shopping, Maps and Play. It has no keyword search: you look up an advertiser, by name or by its website.
1By domain
Send the advertiser’s website as domain. Public Ads API returns up to 100 ads a page from the advertiser verified for it, with next_cursor for the next page.
curl "https://api.publicadsapi.com/v1/google/ads?domain=example.com&country=GB" \ -H "authorization: Bearer $PADS_API_KEY"
Google files ads under the domain the advertiser verified, which is not always the one in its ads. If a domain comes back empty, try the advertiser’s other domains. An empty page costs nothing.
2By advertiser id
Each result carries advertiser.id, Google’s AR… id. Send it as advertiser_id to get that advertiser’s ads whatever domain they use.
3Narrow it down
country: where the ad was shown, as a two-letter code.format:text,imageorvideo.date_fromanddate_to: ads shown in that window.political=true: Google’s political ads, which need acountry.
4Where each ad ran
GET /v1/ads/{id} returns every country the ad ran in, with its first and last day, and for ads shown in the EU the impressions range, the targeting used and who paid.
Google shows search text ads only as an image, so they come back in media, and their text may be null. See the Google search reference.
Every account starts with 100 free credits a month and a sandbox key, no card. Get a free API key or read the quickstart.
Try it free