Get an ad
Get one ad from the Snap Ads Gallery by ad ID or Ads Gallery link: creative, destination, delivery dates, impressions by EU country, targeting and the complete source record.
/v1/snapchat/ads/adx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Ad ID (UUID), as returned by Search ads.
00000000-1111-4222-8333-444444444444Alternative to id: an adsgallery.snap.com link with an adId parameter.
max 600 chars
Request correlation UUID.
Upstream requests, decoded response bytes and elapsed milliseconds.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
True when usable data is returned; inspect status and coverage for omissions.
success, partial, failed or challenged. HTTP 200 can be partial.
one of: success, partial
Snap Ads Gallery API URL the data was read from.
absolute HTTPS URL
UTC retrieval time.
complete is false when a warning names an omission (source_item_failed:<count>).
Always included.
Always included.
Always included.
The ad.
Always included.
Always included.
absolute HTTPS URL
Ad name set by the advertiser.
Always included.
Always included.
Always included.
Always included.
Name of the advertiser paying for the ad, exactly as published (trailing spaces kept).
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
≥ 0
Always included.
up to 64 items
Always included.
Always included.
≥ 0
Top Snap media: type (VIDEO, IMAGE, DYNAMIC, LENS_PACKAGE), download URL and crop position. null for story and collection ads, whose creatives are in snaps.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
AR Lens icon for lens ads.
Each Snap of a story (COMPOSITE) ad with its own type, headline, media and destination.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Catalog items of a dynamic product ad: title, description, brand, link, main and additional images, availability, condition, product type, colour, gender, age group, size and custom labels.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Published targeting: regulated-content flag, demographics (include or exclude, age range, gender, languages, age groups) and devices (OS type and versions, models, marketing names, carriers).
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
The complete ad preview object as the source publishes it, with its snake_case field names, including formats not mapped above.
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 |
|---|---|---|
| 200 | partial | Usable data with source_item_failed:<count> when the source could not return some items of a page. |
| 400 | invalid_request | Missing, duplicate, malformed or unsupported parameters, a non-EU country, a link outside adsgallery.snap.com, or parameters the source rejected. |
| 401 | unauthorized | Missing or invalid worker API key. |
| 404 | not_found | Unknown ad ID or route. |
| 429 | upstream_rate_limited | Snapchat rate limited the request, or the Ads Gallery reported its query capacity exhausted. Retry later. |
| 502 | upstream_challenged | Snapchat refused the request. |
| 502 | upstream_error | Network failure or HTTP 5xx after one retry, or an unexpected source error. |
| 502 | unsupported_page | The source response was not the expected JSON, or an ad did not match the requested ID. |
| 502 | response_too_large | The source response exceeded the byte limit. |
| 502 | unsafe_redirect | The source redirected the request. |
| 502 | payload_too_complex | The source response exceeded the depth or node limit. |
| 502 | request_limit | The upstream request budget was exhausted. |
| 503 | busy | All retrieval slots and queue places are taken. |
| 504 | timeout | The operation exceeded its deadline. |