Skip to content
scrapeatlas.Dashboard

Get ad

Try in Playground

Read one ad by its Transparency Center URL or by advertiser and creative IDs: format, first and last shown times, every variation's image or preview script, the regions it was shown in with dates, and for political ads the spend range, impression range and age, gender and location targeting.

GET/v1/google/adx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
3
urlstringquery

Ad page URL: https://adstransparency.google.com/advertiser/AR…/creative/CR…. Provide url, or advertiser_id with creative_id.

max 400 chars

Examplehttps://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR17511592022488645633
advertiser_idstringquery

Advertiser ID (AR followed by 20 digits).

creative_idstringquery

Creative ID (CR followed by 20 digits).

Response fields
63
requestIdstring

Always included.

Always included.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

Always included.

statusenum

Always included.

one of: success, partial

sourceUrlstring

Always included.

absolute HTTPS URL

fetchedAtstring

Always included.

Always included.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

advertiserIdstring

Advertiser ID.

creativeIdstring

Creative ID.

firstShownstringnullable

First time the ad was shown (ISO 8601), or null when the source omits it.

urlstring

Ad page URL: https://adstransparency.google.com/advertiser/AR…/creative/CR…. Provide url, or advertiser_id with creative_id.

lastShownstringnullable

Last time the ad was shown (ISO 8601), or null.

formatenumnullable

text, image, video, or null.

Political ads: impression range across regions ({min, max}); both null otherwise.

overallImpressions.minstringnullable

Always included.

overallImpressions.maxstringnullable

Always included.

Political ads: spend range with its currency ({currency, lower, upper}); null otherwise.

spend.currencystringnullable

Always included.

spend.lowerstringnullable

Always included.

spend.upperstringnullable

Always included.

Political ads: age and gender bands included and excluded, and included and excluded locations with criterion IDs; null otherwise.

Always included.

targeting.age.includedstring[]

Always included.

up to 20 items

targeting.age.excludedstring[]

Always included.

up to 20 items

Always included.

targeting.gender.includedstring[]

Always included.

up to 20 items

targeting.gender.excludedstring[]

Always included.

up to 20 items

Always included.

Always included.

up to 300 items

targeting.location.included.criterionIdstring

Always included.

targeting.location.included.namestringnullable

Always included.

targeting.location.included.fullNamestringnullable

Always included.

targeting.location.included.countryCodesstring[]

Always included.

up to 1 items

Always included.

up to 300 items

targeting.location.excluded.criterionIdstring

Always included.

targeting.location.excluded.namestringnullable

Always included.

targeting.location.excluded.fullNamestringnullable

Always included.

targeting.location.excluded.countryCodesstring[]

Always included.

up to 1 items

Regions the ad was shown in, with English names.

up to 300 items

creativeRegions.regionCodestringnullable

Always included.

creativeRegions.regionNamestringnullable

Always included.

Per region: first and last shown dates and, for political ads, the impression range (empty otherwise) and per-platform ranges.

up to 300 items

regionStats.regionCodestringnullable

Always included.

regionStats.regionNamestringnullable

Always included.

regionStats.firstShownstringnullable

Always included.

regionStats.lastShownstringnullable

Always included.

Always included.

regionStats.impressions.lowerstringoptional

Optional.

regionStats.impressions.upperstringoptional

Optional.

Always included.

up to 10 items

regionStats.platformImpressions.platformstringnullable

Always included.

regionStats.platformImpressions.lowerstringoptional

Optional.

regionStats.platformImpressions.upperstringoptional

Optional.

Each variation's archived image URL or the source's preview script URL.

up to 100 items

variations.imageUrlstringnullable

Always included.

variations.previewUrlstringnullable

Always included.

advertiserNamestringnullable

Advertiser name, or null when the source omits it.

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
8
HTTPfailure.codeMeaning
400invalid_requestInvalid, duplicate, unknown or conflicting inputs, or a request the source rejected.
401unauthorizedMissing or incorrect service key.
404not_foundMissing advertiser, ad or route.
429upstream_rate_limitedSource throttling.
502upstream_challenged unsupported_pageRefused request or unsupported response structure.
502upstream_error unsafe_redirect response_too_large request_limit payload_too_complexBounded source failure.
503busyAll retrieval slots and queue places are taken.
504timeoutDeadline exceeded.