Skip to content
scrapeatlas.Dashboard

Company ads

Try in Playground

List one page of up to 40 ads for an advertiser ID or an advertised domain, optionally limited to a region, a Google platform, an ad format and a date range. Each ad carries its format, first and last shown times, preview image or preview script and its variation count. Pass the returned cursor with the same filters for the next page.

GET/v1/google/company/adsx-api-key
x-api-keystringrequiredheader

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

Query parameters
8
domainstringquery

Advertised domain such as example.com. Provide domain or advertiser_id, not both.

max 253 chars

Examplelululemon.com
advertiser_idstringquery

Advertiser ID from Search advertisers (AR followed by 20 digits).

regionstringquery

Two-letter country code where the ads were shown; default anywhere.

start_datestringquery

First day of the shown-date range, YYYY-MM-DD; requires end_date.

end_datestringquery

Last day of the shown-date range, YYYY-MM-DD, on or after start_date.

platformenumquery

google_play, google_maps, google_search, google_shopping or youtube.

one of: google_play, google_maps, google_search, google_shopping, youtube

formatenumquery

text, image or video.

one of: text, image, video

cursorstringquery

URL-encoded cursor for the next page, or null on the last page.

Response fields
28
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.

coverage.orderenum

Always included.

one of: newest_first, oldest_first, ranked, relevance, source_order

Ads in source order.

up to 40 items

ads.advertiserIdstring

Always included.

ads.creativeIdstring

Always included.

ads.formatenumnullable

Always included.

ads.adUrlstring

Always included.

ads.advertiserNamestringnullable

Always included.

ads.imageUrlstringnullable

Always included.

ads.firstShownstringnullable

Always included.

ads.lastShownstringnullable

Always included.

ads.domainstringnullable

Always included.

ads.previewUrlstringnullable

Always included.

ads.variationCountintegernullable

Always included.

≥ 0

cursorstringnullable

URL-encoded cursor for the next page, or null on the last page.

number_of_ads_estimateintegernullable

Upper bound of the source's estimate of matching ads, or null.

≥ 0

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.