Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Own-account API: organizations and ad accounts the authorizing Snapchat user can access.
- Spend and other money metrics in stats are in micro-currency: 1,000,000 = 1 unit of the account currency.
- Stats are fresh to about 15 minutes and final 48 hours after the day ends, in the ad account’s timezone.
- Lists page by following paging.next_link in the answer.
- Reads only; creating or changing ads is not included.
Endpoints
List organizations
List an organization’s ad accounts
Get an ad account
List an ad account’s campaigns
List an ad account’s ads
Get campaign stats
- Oversized answers are refused with error E9001: shorten the range, use coarser granularity or fewer fields.
- HOUR queries are limited to 7 days and cannot carry insight breakdowns.
Get ad account stats
- Same limits as campaign stats.