> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Snapchat Ads

> Your Snapchat ad accounts: organizations, ad accounts, campaigns and ads, plus delivery stats for any of them.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/snapchat-ads.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=b7b36398fa17af14239b0849009b3364)

[Web Catalog · Advertising](https://docs.webrouter.net/data-apis.md?category=advertising)

Needs&#x20;

`SNAPCHAT_CLIENT_ID`

,&#x20;

`SNAPCHAT_CLIENT_SECRET`

,&#x20;

`SNAPCHAT_REFRESH_TOKEN`

Endpoints

7

Auth

OAuth refresh token

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/authentication)

## Setup

| Variable | | What it is |
| - | - | - |
| `SNAPCHAT_CLIENT_ID` | required | the client id of your Snap OAuth app (Snap Business Manager > Business details > OAuth Apps) |
| `SNAPCHAT_CLIENT_SECRET` | required | that OAuth app's client secret |
| `SNAPCHAT_REFRESH_TOKEN` | required | a refresh token for that app with the snapchat-marketing-api scope |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) 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

GET

List organizations

Organizations the user belongs to, optionally with their ad accounts.

[Open](#snapchat-ads-organizations-list)

GET

List an organization's ad accounts

Ad accounts under one organization.

[Open](#snapchat-ads-ad-accounts-list)

GET

Get an ad account

One ad account's details.

[Open](#snapchat-ads-ad-accounts-get)

GET

List an ad account's campaigns

All campaigns of an ad account.

[Open](#snapchat-ads-campaigns-list)

GET

List an ad account's ads

All ads of an ad account.

[Open](#snapchat-ads-ads-list)

GET

Get campaign stats

Delivery metrics of one campaign over time.

[Open](#snapchat-ads-stats-campaign)

GET

Get ad account stats

Delivery metrics of a whole ad account, optionally split by campaign.

[Open](#snapchat-ads-stats-ad-account)

### List organizations

GET

`/me/organizations`

`snapchat-ads.organizations.list`

Organizations the user belongs to, optionally with their ad accounts.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `with_ad_accounts`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        true adds each organization's ad accounts, with the user's role.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/organizations) · Same job: [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-customers-list-accessible), [Pinterest Ads](https://docs.webrouter.net/data-apis/pinterest-ads.md#pinterest-ads-accounts-list)

```python Python theme={null}
router.call_data_api("snapchat-ads.organizations.list")
```

```text MCP theme={null}
call_data_api(endpoint="snapchat-ads.organizations.list")
```

### List an organization's ad accounts

GET

`/organizations/{organization_id}/adaccounts`

`snapchat-ads.ad_accounts.list`

Ad accounts under one organization.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `organization_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Organization id, from organizations.list.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/ad-accounts) · Same job: [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-customers-list-accessible), [Pinterest Ads](https://docs.webrouter.net/data-apis/pinterest-ads.md#pinterest-ads-accounts-list)

### Get an ad account

GET

`/adaccounts/{ad_account_id}`

`snapchat-ads.ad_accounts.get`

One ad account's details.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `ad_account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Snap ad account id (a UUID).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/ad-accounts) · Same job: [Meta Ads (Marketing API)](https://docs.webrouter.net/data-apis/meta-ads.md#meta-ads-account-get), [TikTok Ads (Marketing API)](https://docs.webrouter.net/data-apis/tiktok-ads.md#tiktok-ads-advertiser-info)

### List an ad account's campaigns

GET

`/adaccounts/{ad_account_id}/campaigns`

`snapchat-ads.campaigns.list`

All campaigns of an ad account.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `ad_account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Snap ad account id (a UUID).
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page size, 50 to 1000.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        updated\_at-desc or created\_at-desc. Cannot combine with read\_deleted\_entities.
      </td>
    </tr>

    <tr>
      <td>
        `read_deleted_entities`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        true adds the deleted attribute on deleted campaigns.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/campaigns) · Same job: [Meta Ads (Marketing API)](https://docs.webrouter.net/data-apis/meta-ads.md#meta-ads-campaigns-list), [Pinterest Ads](https://docs.webrouter.net/data-apis/pinterest-ads.md#pinterest-ads-campaigns-list), [TikTok Ads (Marketing API)](https://docs.webrouter.net/data-apis/tiktok-ads.md#tiktok-ads-campaign-list)

### List an ad account's ads

GET

`/adaccounts/{ad_account_id}/ads`

`snapchat-ads.ads.list`

All ads of an ad account.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `ad_account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Snap ad account id (a UUID).
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page size, 50 to 1000.
      </td>
    </tr>

    <tr>
      <td>
        `sort`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        updated\_at-desc or created\_at-desc. Cannot combine with read\_deleted\_entities.
      </td>
    </tr>

    <tr>
      <td>
        `read_deleted_entities`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include the deleted attribute on deleted ads; default true.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/ads) · Same job: [Pinterest Ads](https://docs.webrouter.net/data-apis/pinterest-ads.md#pinterest-ads-ads-list), [TikTok Ads (Marketing API)](https://docs.webrouter.net/data-apis/tiktok-ads.md#tiktok-ads-ad-list)

### Get campaign stats

GET

`/campaigns/{campaign_id}/stats`

`snapchat-ads.stats.campaign`

Delivery metrics of one campaign over time.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `campaign_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Campaign id.
      </td>
    </tr>

    <tr><td>`granularity` required</td><td>string</td><td>query</td><td>TOTAL, DAY, HOUR or LIFETIME. One of `TOTAL`, `DAY`, `HOUR`, `LIFETIME`</td></tr>
    <tr><td>`fields`</td><td>string</td><td>query</td><td>Comma-separated metrics, e.g. impressions,swipes,spend. Default impressions and spend. Example `impressions,swipes,spend`</td></tr>
    <tr><td>`start_time`</td><td>string</td><td>query</td><td>ISO 8601; required for DAY and HOUR (HOUR times on the hour). Example `2026-10-01T00:00:00.000-07:00`</td></tr>

    <tr>
      <td>
        `end_time`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601; required for DAY and HOUR.
      </td>
    </tr>

    <tr>
      <td>
        `breakdown`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ad or adsquad: split a campaign's stats.
      </td>
    </tr>

    <tr>
      <td>
        `omit_empty`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Leave out entities with no data.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Entities per page, at most 200.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/measurement) · Same job: [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-query), [Meta Ads (Marketing API)](https://docs.webrouter.net/data-apis/meta-ads.md#meta-ads-insights-get), [Pinterest Ads](https://docs.webrouter.net/data-apis/pinterest-ads.md#pinterest-ads-analytics-account), [TikTok Ads (Marketing API)](https://docs.webrouter.net/data-apis/tiktok-ads.md#tiktok-ads-report-query)

> [!NOTE]
>
> * 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

GET

`/adaccounts/{ad_account_id}/stats`

`snapchat-ads.stats.ad_account`

Delivery metrics of a whole ad account, optionally split by campaign.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `ad_account_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Snap ad account id (a UUID).
      </td>
    </tr>

    <tr><td>`granularity` required</td><td>string</td><td>query</td><td>TOTAL, DAY, HOUR or LIFETIME. One of `TOTAL`, `DAY`, `HOUR`, `LIFETIME`</td></tr>

    <tr>
      <td>
        `fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated metrics. Default impressions and spend.
      </td>
    </tr>

    <tr>
      <td>
        `start_time`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601; required for DAY and HOUR.
      </td>
    </tr>

    <tr>
      <td>
        `end_time`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601; required for DAY and HOUR.
      </td>
    </tr>

    <tr>
      <td>
        `breakdown`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        campaign: split the account's stats by campaign.
      </td>
    </tr>

    <tr>
      <td>
        `omit_empty`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Leave out entities with no data.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.snap.com/api/marketing-api/Ads-API/measurement) · Same job: [Google Ads](https://docs.webrouter.net/data-apis/google-ads.md#google-ads-query), [Meta Ads (Marketing API)](https://docs.webrouter.net/data-apis/meta-ads.md#meta-ads-insights-get), [Pinterest Ads](https://docs.webrouter.net/data-apis/pinterest-ads.md#pinterest-ads-analytics-account), [TikTok Ads (Marketing API)](https://docs.webrouter.net/data-apis/tiktok-ads.md#tiktok-ads-report-query)

> [!NOTE]
>
> * Same limits as campaign stats.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.