Skip to main content

Snapchat Marketing

This connector captures data from Snapchat Marketing into Estuary collections.

This connector is based on an open-source connector from a third party, with modifications for performance in the Estuary system.

Supported data resources​

This connector can be used to sync the following tables from Snapchat:

  • Adaccounts
  • Ads
  • Adsquads
  • Campaigns
  • Creatives
  • Media
  • Organizations
  • Segments
  • AdaccountsStatsHourly
  • AdaccountsStatsDaily
  • AdaccountsStatsLifetime
  • AdsStatsHourly
  • AdsStatsDaily
  • AdsStatsLifetime
  • AdsquadsStatsDaily
  • AdsquadsStatsLifetime
  • CampaignsStatsHourly
  • CampaignsStatsDaily
  • CampaignsStatsLifetime

By default, each resource is mapped to an Estuary collection through a separate binding.

Prerequisites​

  • A Snapchat Marketing account with permission to access data from accounts you want to sync.

Configuration​

You configure connectors either in the Estuary web app, or by directly editing the catalog specification file. See connectors to learn more about using connectors. The values and specification sample below provide configuration details specific to the Snapchat source connector.

Properties​

Endpoint​

PropertyTitleDescriptionTypeRequired/Default
/start_dateStart DateUTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated.stringDefault
/end_dateEnd DateUTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated.stringRequired

Bindings​

PropertyTitleDescriptionTypeRequired/Default
/streamStreamResource of your Snapchat project from which collections are captured.stringRequired
/syncModeSync ModeConnection method.stringRequired

Sample​


captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-snapchat-marketing:v1
config:
start_date: 2017-01-25T00:00:00Z
end_date: 2018-01-25T00:00:00Z
bindings:
- resource:
stream: lists
syncMode: full_refresh
target: ${PREFIX}/lists
{...}