Google Ads Transparency company ads API
Every ad an advertiser or a website has shown on Google Search, YouTube, Google Play, Maps and Shopping, newest first, 40 a page: format, first and last shown, the Center’s preview and link. Filter by region, platform, format and dates.
GET /v1/googleads/adsBeta2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/googleads/ads?domain=nike.com®ion=US&format=video",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "ads": [ { "advertiser_id": "AR06365026152670560257", "creative_id": "CR01418145905617403905", "advertiser_name": "WPP MEDIA MANAGEMENT", "domain": "nike.com", "format": "video", "first_shown": "2023-02-08T18:52:17.692Z", "last_shown": "2026-11-25T04:55:54.867Z", "preview": { "image_url": null, "preview_url": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCust…", "html": null }, "url": "https://adstransparency.google.com/advertiser/AR06365026152670560257/creative/CR01418145905617403905" }, { "advertiser_id": "AR18378488041124659201", "creative_id": "CR05322749843196608513", "advertiser_name": "Nike Retail BV", "domain": "nike.com", "format": "video", "first_shown": "2023-10-05T16:38:30.283Z", "last_shown": "2026-11-25T04:19:55.708Z", "preview": { "image_url": null, "preview_url": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&obfuscatedCust…", "html": null }, "url": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR05322749843196608513" }, "… 38 more" ], "ads_count": { "lower": 200, "upper": 300 }, "next_cursor": "CgoAP7zmf5cVRPdzEhC3V4RAUVjPqoQmwHgAAAAAGgn8+GTS+KxnkuU="}Parameters
| Name | Type | Description |
|---|---|---|
advertiser_idquery | string | Advertiser id (AR…) or its Center URL. |
domainquery | string | Advertised website, e.g. nike.com. Example: nike.com. |
regionquery | string | ISO 3166-1 alpha-2 country where the ads were shown (US, GB…). Default: anywhere. |
platformquery | "google_play" | "google_maps" | "google_search" | "google_shopping" | "youtube" | One of google_play, google_maps, google_search, google_shopping, youtube. |
formatquery | "text" | "image" | "video" | One of text, image, video. |
start_datequery | string | YYYY-MM-DD: ads shown on or after this day. |
end_datequery | string | YYYY-MM-DD: ads shown on or before this day. |
afterquery | string | The previous page’s next_cursor. |
Response fields
200 with a GoogleAdsPage, in Google Ads Transparency Center’s own JSON.
| Field | Type | Description |
|---|---|---|
ads | GoogleAd[] | |
ads_count | object | |
next_cursor | string | null | Pass as after for the next page. |
Status codes
| Status | Meaning |
|---|---|
200 | A page of ads, with the next cursor. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The advertiser or ad is not in the Google Ads Transparency Center. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Google Ads Transparency Center is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How do I page?
Pass next_cursor as after with the same filters.
Google Ads Transparency Center is a trademark of Google LLC. We are not affiliated with or endorsed by Google.