Google Ad Details
google_ad_library_ad_detailsRetrieve details for a specific Google ad creative from an Ads Transparency URL, including election spend/impression ranges and active status; use country and cache options to control freshness.
Instructions
Google publishes spend and impression ranges only for election ads; commercial advertisers omit both. isActive is true when lastShown is within 7 UTC days. Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"creative_id": "<creative_id>"
},
"name": "google_ad_library_ad_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. | |
| country | No | Two-letter ISO country code. Default US. Non-ISO codes are a definitive 400 INVALID_COUNTRY. | |
| creative_id | Yes | Google Ads Transparency URL containing AR... advertiser and CR... creative IDs. A creative that does not exist under the advertiser is a definitive 404 AD_NOT_FOUND (upstream answered) — 503 is reserved for actual transport failures. |