Google Ads Transparency ad details API
One ad from the Google Ads Transparency Center by its URL: every version the Center keeps (image or render script) and each region it ran in, with the last day shown there.
GET /v1/googleads/ads/{creative}Beta2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/googleads/ads/CR07492981871379218433?advertiser_id=AR16735076323512287233",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "advertiser_id": "AR16735076323512287233", "creative_id": "CR07492981871379218433", "advertiser_name": "Nike, Inc.", "format": "text", "last_shown": "2026-11-25T05:12:56.077Z", "variations": [ { "image_url": "https://tpc.googlesyndication.com/archive/simgad/13128180323564590079", "preview_url": null, "html": "<img src=\"https://tpc.googlesyndication.com/archive/simgad/13128180323564590079\" height=\"256\" width=\"348\">" }, { "image_url": "https://tpc.googlesyndication.com/archive/simgad/4477661340471295642", "preview_url": null, "html": "<img src=\"https://tpc.googlesyndication.com/archive/simgad/4477661340471295642\" height=\"180\" width=\"348\">" }, "… 5 more" ], "regions": [ { "region": "US", "last_shown": "2026-11-24" } ], "url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR07492981871379218433"}Parameters
| Name | Type | Description |
|---|---|---|
creativepath · required | string | Creative id (CR…) or the ad’s Center URL. Example: CR07492981871379218433. |
advertiser_idquery | string | Needed with a bare creative id. |
Response fields
200 with a GoogleAdDetail, in Google Ads Transparency Center’s own JSON.
| Field | Type | Description |
|---|---|---|
advertiser_id | string | |
creative_id | string | |
advertiser_name | string | null | |
format | "text" | "image" | "video" | null | |
last_shown | string | null | Last time shown, ISO 8601 in UTC. |
variations | GoogleAdsPreview[] | Every version of the ad the Center keeps. |
regions | object[] | Where the ad ran, with the last day (YYYY-MM-DD) shown there. |
url | string |
Status codes
| Status | Meaning |
|---|---|
200 | The ad, its versions and regions. |
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
Google Ads Transparency Center is a trademark of Google LLC. We are not affiliated with or endorsed by Google.