How to get Ad Library google ad details
GET request to /v1/ad-library/google/ad-details with your input. You get clean JSON back in seconds for 17 credits per call — no OAuth, scraping or platform SDKs. Get a Google Ads Transparency ad — creative, advertiser, and delivery fields as structured JSON.How to get Ad Library google ad details (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Google Ad Details API
Send an authenticated GET request to /v1/ad-library/google/ad-details with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/ad-library/google/ad-details?creative_id=https%3A%2F%2Fadstransparency.google.com%2Fadvertiser%2FAR16735076323512287233%2Fcreative%2FCR10754779872199966721" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "google_ad_library",
"id": "CR04305201326893039617",
"url": "https://adstransparency.google.com/advertiser/AR17365672681860497409/creative/CR04305201326893039617",
"text": "Nilufar Edition features+100 pieces across keyfurniture categories.Contact us for info.",
"headline": "Nina Yashar’sCurated Gems",
"cta": null,
"landingUrl": "https://nilufar.com/designers/nilufar-edition/",
"adFormat": "image",
"firstShown": "2025-06-18T07:25:50.000Z",
"lastShown": "2025-08-14T10:08:07.000Z",
"impressions": null,
"spend": null,
"country": "United States",
"advertiser": {
"id": "AR17365672681860497409",
"name": "NIKE SRL",
"url": "https://adstransparency.google.com/advertiser/AR17365672681860497409"
},
"media": [
"https://tpc.googlesyndication.com/archive/sadbundle/$csp%3Darchive$/681805071230715799/index.html",
"https://tpc.googlesyndication.com/archive/sadbundle/$csp%3Darchive$/3215303594946302854/index.html",
"https://tpc.googlesyndication.com/archive/sadbundle/$csp%3Darchive$/11741205795627771587/index.html",
"https://tpc.googlesyndication.com/archive/sadbundle/$csp%3Darchive$/681805071230715799/index.html"
]
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| creative_id | string | Yes | Google Ads Transparency URL containing AR... advertiser and CR... creative IDs. |
| country | string | No | Two-letter ISO country code. Default US. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the Google Ad Details API do?
The Google Ad Details API lets you fetch full metadata and key stats from a public Ad Library ad using one GET request to /v1/ad-library/google/ad-details. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Google Ad Details API cost?
Each successful call costs 17 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Ad Library API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Google Ad Details API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to get Ad Library google ad details?
Start free with 100 credits — no credit card required.
Get your free API key