Company ads
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.
/v1/google/company/adsx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Advertised domain such as example.com. Provide domain or advertiser_id, not both.
max 253 chars
lululemon.comAdvertiser ID from Search advertisers (AR followed by 20 digits).
Two-letter country code where the ads were shown; default anywhere.
First day of the shown-date range, YYYY-MM-DD; requires end_date.
Last day of the shown-date range, YYYY-MM-DD, on or after start_date.
google_play, google_maps, google_search, google_shopping or youtube.
one of: google_play, google_maps, google_search, google_shopping, youtube
text, image or video.
one of: text, image, video
URL-encoded cursor for the next page, or null on the last page.
Always included.
Always included.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Always included.
Always included.
one of: success, partial
Always included.
absolute HTTPS URL
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
one of: newest_first, oldest_first, ranked, relevance, source_order
Ads in source order.
up to 40 items
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
≥ 0
URL-encoded cursor for the next page, or null on the last page.
Upper bound of the source's estimate of matching ads, or null.
≥ 0
No fields match.
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.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Invalid, duplicate, unknown or conflicting inputs, or a request the source rejected. |
| 401 | unauthorized | Missing or incorrect service key. |
| 404 | not_found | Missing advertiser, ad or route. |
| 429 | upstream_rate_limited | Source throttling. |
| 502 | upstream_challenged unsupported_page | Refused request or unsupported response structure. |
| 502 | upstream_error unsafe_redirect response_too_large request_limit payload_too_complex | Bounded source failure. |
| 503 | busy | All retrieval slots and queue places are taken. |
| 504 | timeout | Deadline exceeded. |