Skip to main content

Documentation Index

Fetch the complete documentation index at: https://lava.so/docs/llms.txt

Use this file to discover all available pages before exploring further.

Snapchat advertising API for managing the full ad lifecycle on Snapchat. Use to create and manage campaigns, ad squads, ads, creatives, audiences, and pull performance reporting against Snap’s Marketing API. Strongest for reaching Gen Z and AR-format ad surfaces (Lenses, Stories, Spotlight) that other major ad platforms don’t offer. 8 example endpoints available through Lava’s AI Gateway. See the Snapchat Ads API docs for full documentation.
This provider requires your own credentials — connect your API key or OAuth account before use.
This is a catch-all provider — any valid URL under https://adsapi.snapchat.com/v1 is supported. Any Snapchat Marketing API endpoint. Construct URL as https://adsapi.snapchat.com/v1/{path}. Pagination uses the limit query param (50–1000) with response paging.next_link carrying the next-page URL. Errors return JSON with request_status: "ERROR", debug_message, display_message, error_code (e.g., E3003 for not-found). Rate limits: 20 req/sec per app, 10 req/sec per access token. Full reference: https://developers.snap.com/api/marketing-api/Ads-API/introduction The endpoints below are curated examples.

Endpoints

Get the authenticated user (id, organization_id, display_name, email)

GET https://adsapi.snapchat.com/v1/me — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/me', { method: 'GET' });

List organizations the authenticated user belongs to

GET https://adsapi.snapchat.com/v1/me/organizations — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/me/organizations', { method: 'GET' });

List ad accounts under an organization

GET https://adsapi.snapchat.com/v1/organizations/{organization_id}/adaccounts — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/organizations/{organization_id}/adaccounts', { method: 'GET' });

List campaigns under an ad account

GET https://adsapi.snapchat.com/v1/adaccounts/{ad_account_id}/campaigns — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/adaccounts/{ad_account_id}/campaigns', { method: 'GET' });

Create a campaign in an ad account

POST https://adsapi.snapchat.com/v1/adaccounts/{ad_account_id}/campaigns — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/adaccounts/{ad_account_id}/campaigns', {
  body: {
"campaigns": [
  {
    "name": "Summer Launch",
    "ad_account_id": "{ad_account_id}",
    "status": "PAUSED",
    "start_time": "2026-06-01T00:00:00Z",
    "objective": "BRAND_AWARENESS"
  }
]
},
});

List ad squads under a campaign

GET https://adsapi.snapchat.com/v1/campaigns/{campaign_id}/adsquads — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/campaigns/{campaign_id}/adsquads', { method: 'GET' });

List ads under an ad squad

GET https://adsapi.snapchat.com/v1/adsquads/{ad_squad_id}/ads — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/adsquads/{ad_squad_id}/ads', { method: 'GET' });

Get performance stats for a campaign (impressions, swipes, spend)

GET https://adsapi.snapchat.com/v1/campaigns/{campaign_id}/stats?granularity=TOTAL&fields=impressions,swipes,spend — Free
const data = await lava.gateway('https://adsapi.snapchat.com/v1/campaigns/{campaign_id}/stats?granularity=TOTAL&fields=impressions,swipes,spend', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests