Skip to content
scrapeatlas.Dashboard

Get an ad

Try in Playground

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.

GET/v1/snapchat/ads/adx-api-key
x-api-keystringrequiredheader

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

Query parameters
2
idstringquery

Ad ID (UUID), as returned by Search ads.

Example00000000-1111-4222-8333-444444444444
urlstringquery

Alternative to id: an adsgallery.snap.com link with an adId parameter.

max 600 chars

Response fields
104
requestIdstring

Request correlation UUID.

Upstream requests, decoded response bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

True when usable data is returned; inspect status and coverage for omissions.

statusenum

success, partial, failed or challenged. HTTP 200 can be partial.

one of: success, partial

sourceUrlstring

Snap Ads Gallery API URL the data was read from.

absolute HTTPS URL

fetchedAtstring

UTC retrieval time.

complete is false when a warning names an omission (source_item_failed:<count>).

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

The ad.

ad.idstring

Always included.

ad.urlstring

Always included.

absolute HTTPS URL

ad.namestringnullable

Ad name set by the advertiser.

ad.statusstringnullable

Always included.

ad.reviewStatusstringnullable

Always included.

ad.rejectionReasonsstring[]

Always included.

ad.adAccountNamestringnullable

Always included.

ad.payingAdvertiserNamestringnullable

Name of the advertiser paying for the ad, exactly as published (trailing spaces kept).

ad.profileNamestringnullable

Always included.

ad.profileLogoUrlstringnullable

Always included.

ad.brandNamestringnullable

Always included.

ad.creativeTypestringnullable

Always included.

ad.adTypestringnullable

Always included.

ad.renderTypestringnullable

Always included.

ad.headlinestringnullable

Always included.

ad.callToActionstringnullable

Always included.

ad.languagesstring[]

Always included.

ad.startDatestringnullable

Always included.

ad.endDatestringnullable

Always included.

ad.impressionsTotalintegernullable

Always included.

≥ 0

Always included.

up to 64 items

ad.impressionsByCountry.countrystring

Always included.

ad.impressionsByCountry.impressionsinteger

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.

ad.media.typestringnullable

Always included.

ad.media.urlstringnullable

Always included.

ad.media.cropPositionstringnullable

Always included.

ad.webViewUrlstringnullable

Always included.

Always included.

ad.deepLink.uristringnullable

Always included.

ad.deepLink.iconUrlstringnullable

Always included.

Always included.

ad.app.appNamestringnullable

Always included.

ad.app.iosAppIdstringnullable

Always included.

ad.app.androidAppIdstringnullable

Always included.

ad.app.mediaUrlstringnullable

Always included.

ad.app.playableUrlstringnullable

Always included.

ad.app.playableCallToActionstringnullable

Always included.

ad.lensIconUrlstringnullable

AR Lens icon for lens ads.

Each Snap of a story (COMPOSITE) ad with its own type, headline, media and destination.

ad.snaps.typestringnullable

Always included.

ad.snaps.renderTypestringnullable

Always included.

ad.snaps.headlinestringnullable

Always included.

ad.snaps.brandNamestringnullable

Always included.

ad.snaps.callToActionstringnullable

Always included.

Always included.

ad.snaps.media.typestringnullable

Always included.

ad.snaps.media.urlstringnullable

Always included.

ad.snaps.media.cropPositionstringnullable

Always included.

ad.snaps.webViewUrlstringnullable

Always included.

Always included.

ad.snaps.app.appNamestringnullable

Always included.

ad.snaps.app.iosAppIdstringnullable

Always included.

ad.snaps.app.androidAppIdstringnullable

Always included.

ad.snaps.app.mediaUrlstringnullable

Always included.

ad.snaps.app.playableUrlstringnullable

Always included.

ad.snaps.app.playableCallToActionstringnullable

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.

ad.products.titlestringnullable

Always included.

ad.products.descriptionstringnullable

Always included.

ad.products.brandstringnullable

Always included.

ad.products.linkstringnullable

Always included.

ad.products.imageUrlstringnullable

Always included.

ad.products.additionalImageUrlsstring[]

Always included.

ad.products.availabilitystringnullable

Always included.

ad.products.conditionstringnullable

Always included.

ad.products.productTypesstring[]

Always included.

ad.products.colorsstring[]

Always included.

ad.products.genderstringnullable

Always included.

ad.products.ageGroupstringnullable

Always included.

ad.products.sizestringnullable

Always included.

ad.products.customLabelsstring[]

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).

ad.targeting.regulatedContentbooleannullable

Always included.

Always included.

ad.targeting.demographics.operationstringnullable

Always included.

ad.targeting.demographics.minAgestringnullable

Always included.

ad.targeting.demographics.maxAgestringnullable

Always included.

ad.targeting.demographics.genderstringnullable

Always included.

ad.targeting.demographics.languagesstring[]

Always included.

ad.targeting.demographics.ageGroupsstring[]

Always included.

Always included.

ad.targeting.devices.operationstringnullable

Always included.

ad.targeting.devices.osTypestringnullable

Always included.

ad.targeting.devices.osVersionMinstringnullable

Always included.

ad.targeting.devices.osVersionMaxstringnullable

Always included.

ad.targeting.devices.modelsstring[]

Always included.

ad.targeting.devices.marketingNamesstring[]

Always included.

ad.targeting.devices.carrierIdsstring[]

Always included.

ad.sourceobject

The complete ad preview object as the source publishes it, with its snake_case field names, including formats not mapped above.

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
14
HTTPfailure.codeMeaning
200partialUsable data with source_item_failed:<count> when the source could not return some items of a page.
400invalid_requestMissing, duplicate, malformed or unsupported parameters, a non-EU country, a link outside adsgallery.snap.com, or parameters the source rejected.
401unauthorizedMissing or invalid worker API key.
404not_foundUnknown ad ID or route.
429upstream_rate_limitedSnapchat rate limited the request, or the Ads Gallery reported its query capacity exhausted. Retry later.
502upstream_challengedSnapchat refused the request.
502upstream_errorNetwork failure or HTTP 5xx after one retry, or an unexpected source error.
502unsupported_pageThe source response was not the expected JSON, or an ad did not match the requested ID.
502response_too_largeThe source response exceeded the byte limit.
502unsafe_redirectThe source redirected the request.
502payload_too_complexThe source response exceeded the depth or node limit.
502request_limitThe upstream request budget was exhausted.
503busyAll retrieval slots and queue places are taken.
504timeoutThe operation exceeded its deadline.