Linking Snapchat Ads as a source
Contents
You can sync data from Snapchat Ads by configuring it as a source in PostHog. These are the supported entities and reports:
- Campaigns
- Ad Squads
- Ads
- Campaign Stats: Performance metrics at the campaign level
- Ad Squad Stats: Performance metrics at the ad squad level
- Ad Stats: Performance metrics at the ad level
Additional reports will be added based on user feedback we receive via our in-app support form.
Requirements
- A Snapchat Ads account with permission to access data from accounts you want to sync.
Tip: If you need to find your ad account ID manually, go to Snapchat Ads Manager > Ad Accounts. The ID is visible next to the account name, or in the dashboard URL:
https://ads.snapchat.com/{ID_IS_HERE}/manage.
Configuring PostHog
Connect PostHog to your Snapchat Ads account using a Snapchat account. The Snapchat account must have permission to access data.
- In PostHog, go to the Data pipelines tab.
- Open the + New drop-down menu in the top-right and select Source.
- Find Snapchat Ads in the sources list and click Link.
- Connect your Snapchat account by selecting an existing integration or creating a new one.
- Select your ad account from the dropdown. Accounts are grouped by organization and display their status (e.g. Active, Pending). Pending accounts typically haven't finished setup and may not have data to sync yet.
- (Optional) Add a prefix for the table name.
Configuration
| Option | Type | Required |
|---|---|---|
Snapchat Ads account | oauth | Yes |
Snapchat Ads Ad Account ID | oauth-account-select | Yes |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
campaigns | An advertising campaign — the top-level container that holds ad squads and sets the schedule and objective. | Full refresh | — | — |
ad_squads | An ad squad (ad set) within a campaign — defines targeting, budget, bid, and schedule for a group of ads. | Full refresh | — | — |
ads | An individual ad within an ad squad — pairs creative with delivery settings. | Full refresh | — | — |
campaign_stats_daily | Daily performance metrics (spend, impressions, swipes, conversions) broken down by campaign. | Incremental, Full refresh | start_time | — |
ad_squad_stats_daily | Daily performance metrics (spend, impressions, swipes, conversions) broken down by ad squad. | Incremental, Full refresh | start_time | — |
ad_stats_daily | Daily performance metrics (spend, impressions, swipes, conversions) broken down by ad. | Incremental, Full refresh | start_time | — |