Google Ads Transparency Creative Detail API
Get one ad from its advertiser and ad IDs: every version of it, the regions it ran in and when it was last shown.
{ "creative": { "1": "AR12815412684405080065", "2": "CR10007278137596968961", "8": 1, "4": { "1": "1792419148", "2": 950516000 }, "17": [ { "1": 2840, "5": 20261019 } ], "5": [ { "5": true, "3": { "2": "<img src=\"https://tpc.googlesyndication.com/archive/simgad/1042557611142725945\" height=\"376\" width=\"348\">" } }, { "5": true, "3": { "2": "<img src=\"https://tpc.googlesyndication.com/archive/simgad/15929607272574382757\" height=\"180\" width=\"348\">" } } ] }}
| # | 5 |
|---|---|
| 1 | true |
| 2 | true |
| 3 | true |
What you send, what comes back
The input object it accepts, and every field of a record, with the values from the response above.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| advertiser_id | string | yes | Google's advertiser ID, such as AR12815412684405080065: field 1 of an ad from the other endpoints. | AR12815412684405080065 |
| creative_id | string | yes | Google's ID for the ad, such as CR10007278137596968961: field 2 of the same ad. | CR10007278137596968961 |
| Field | Type | What it is | Example |
|---|---|---|---|
| creative.5[].5 | boolean | A flag Google sets on the version. | true |
| creative.5[].3 | object | What Google shows to preview this version. | 1 fields |
| creative | object | The ad as Google's Ads Transparency Center describes it. | 6 fields |
| creative.1 | string | Google's ID for the advertiser. | AR12815412684405080065 |
| creative.17 | array | The regions the ad ran in. | 1 records |
| creative.17[].1 | integer | Google's ID for the region, such as 2840 for the United States. | 2840 |
| creative.17[].5 | integer | A date Google gives for the region, as YYYYMMDD. | 20,261,019 |
| creative.2 | string | Google's ID for the ad. | CR10007278137596968961 |
| creative.4 | object | When the ad was last shown. | 2 fields |
| creative.4.1 | string | When the ad was last shown, as a Unix time in seconds. | 1792419148 |
| creative.4.2 | integer | The fraction of that second, in nanoseconds. | 950,516,000 |
| creative.5 | array | Every version of the ad. | 3 records |
| creative.8 | integer | The ad's format: 1 text, 2 image, 3 video. | 1 |
Call it from your code
Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "google-adstransparency.creative.get", "input": { "advertiser_id": "AR12815412684405080065", "creative_id": "CR10007278137596968961" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "google-adstransparency.creative.get", "input": { "advertiser_id": "AR12815412684405080065", "creative_id": "CR10007278137596968961" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "google-adstransparency.creative.get", "input": { "advertiser_id": "AR12815412684405080065", "creative_id": "CR10007278137596968961" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "creative": { "1": "AR12815412684405080065", "2": "CR10007278137596968961", "8": 1, "4": { "1": "1792419148", "2": 950516000 }, "17": [ { "1": 2840, "5": 20261019 } ], "5": [ { "5": true, "3": { "2": "<img src=\"https://tpc.googlesyndication.com/archive/simgad/1042557611142725945\" height=\"376\" width=\"348\">" } }, { "5": true, "3": { "2": "<img src=\"https://tpc.googlesyndication.com/archive/simgad/15929607272574382757\" height=\"180\" width=\"348\">" } } ] }}
More Google Ads Transparency endpoints
The same API key runs every one of them.
Google Ads Transparency Creative Detail API FAQ
The short answers. The docs have the long ones.
How much does the Google Ads Transparency Creative Detail API cost?
5 credits per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send advertiser_id and creative_id. The input fields below list every option with its type and limits.
Do I need a Google Ads Transparency login?
No. It reads public Google Ads Transparency data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds google-adstransparency.creative.get, checks its price and runs it with the same credits as the REST API.