Skip to main content

Snapchat marketing

Setting up the Snapchat marketing connector

NoItemRequiredExampleNotes
1Client IDYesThe Client ID of your Snapchat developer application.
2Client SecretYesThe Client Secret of your Snapchat developer application.
3Refresh TokenYesRefresh Token to renew the expired Access Token.
4Start DateNo2022-01-01Date in the format 2022-01-01. Any data before this date will not be replicated.
5End DateNo2022-01-30Date in the format 2017-01-25. Any data after this date will not be replicated.

Tables in the Snapchat marketing connector

NoTable NameColumnsPrimary KeysRead ModeInc. Sync KeysAPI Info
1adsquads26idIncremental, Full Refreshupdated_at
2ads11idIncremental, Full Refreshupdated_at
3campaigns10idIncremental, Full Refreshupdated_at
4adaccounts16idIncremental, Full Refreshupdated_at
5basic_stats73
6organizations22idFull Refresh
7creatives19idIncremental, Full Refreshupdated_at
8media16idIncremental, Full Refreshupdated_at
9segments14idIncremental, Full Refreshupdated_at

Table: adsquads

NoColumn NameTypeNotes
1optimization_goalVARCHAR
2skadnetwork_propertiesVARCHAR
3billing_eventVARCHAR
4bid_strategyVARCHAR
5created_atVARCHAR
6target_bidBOOLEAN
7typeVARCHAR
8child_ad_typeVARCHAR
9targeting_reach_statusVARCHAR
10targetingVARCHAR
11updated_atVARCHARIncremental sync key
12daily_budget_microINTEGER
13creation_stateVARCHAR
14idVARCHARPrimary Key
15delivery_constraintVARCHAR
16campaign_idVARCHAR
17pacing_typeVARCHAR
18end_timeVARCHAR
19lifetime_budget_microINTEGER
20auto_bidBOOLEAN
21forced_view_settingVARCHAR
22start_timeVARCHAR
23nameVARCHAR
24placementVARCHAR
25delivery_statusVARCHAR
26statusVARCHAR

Table: ads

NoColumn NameTypeNotes
1updated_atVARCHARIncremental sync key
2nameVARCHAR
3created_atVARCHAR
4idVARCHARPrimary Key
5review_statusVARCHAR
6typeVARCHAR
7ad_squad_idVARCHAR
8creative_idVARCHAR
9render_typeVARCHAR
10delivery_statusVARCHAR
11statusVARCHAR

Table: campaigns

NoColumn NameTypeNotes
1start_timeVARCHAR
2updated_atVARCHARIncremental sync key
3nameVARCHAR
4created_atVARCHAR
5idVARCHARPrimary Key
6buy_modelVARCHAR
7delivery_statusVARCHAR
8ad_account_idVARCHAR
9statusVARCHAR
10objectiveVARCHAR

Table: adaccounts

NoColumn NameTypeNotes
1agency_representing_clientBOOLEAN
2timezoneVARCHAR
3billing_center_idVARCHAR
4created_atVARCHAR
5client_paying_invoicesBOOLEAN
6typeVARCHAR
7funding_source_idsVARCHAR
8updated_atVARCHARIncremental sync key
9organization_idVARCHAR
10regulationsVARCHAR
11nameVARCHAR
12billing_typeVARCHAR
13currencyVARCHAR
14idVARCHARPrimary Key
15statusVARCHAR
16advertiser_organization_idVARCHAR

Table: basic_stats

NoColumn NameTypeNotes
1android_installsDOUBLE
2quartile_2DOUBLE
3quartile_3DOUBLE
4swipesDOUBLE
5quartile_1DOUBLE
6conversion_start_checkoutDOUBLE
7conversion_achievement_unlockedDOUBLE
8play_time_millisDOUBLE
9typeVARCHAR
10conversion_loginDOUBLE
11frequencyDOUBLE
12avg_screen_time_millisDOUBLE
13conversion_page_viewsDOUBLE
14savesDOUBLE
15custom_event_3DOUBLE
16custom_event_4DOUBLE
17video_viewsDOUBLE
18custom_event_5DOUBLE
19conversion_list_viewDOUBLE
20earned_reachDOUBLE
21conversion_shareDOUBLE
22conversion_reserveDOUBLE
23idVARCHAR
24swipe_up_percentDOUBLE
25conversion_purchases_valueDOUBLE
26conversion_spend_creditsDOUBLE
27attachment_total_view_time_millisDOUBLE
28conversion_add_to_wishlistDOUBLE
29attachment_impressionsDOUBLE
30conversion_start_trialDOUBLE
31uniquesDOUBLE
32video_views_15sDOUBLE
33conversion_subscribeDOUBLE
34start_timeVARCHAR
35conversion_saveDOUBLE
36conversion_level_completesDOUBLE
37granularityVARCHAR
38screen_time_millisDOUBLE
39total_reachDOUBLE
40conversion_inviteDOUBLE
41total_installsDOUBLE
42attachment_uniquesDOUBLE
43view_completionDOUBLE
44total_impressionsDOUBLE
45sharesDOUBLE
46video_views_time_basedDOUBLE
47attachment_quartile_1DOUBLE
48conversion_complete_tutorialDOUBLE
49ios_installsDOUBLE
50conversion_app_opensDOUBLE
51attachment_quartile_3DOUBLE
52attachment_quartile_2DOUBLE
53spendDOUBLE
54native_leadsDOUBLE
55conversion_rateDOUBLE
56conversion_add_cartDOUBLE
57conversion_searchesDOUBLE
58avg_view_time_millisDOUBLE
59conversion_ad_viewDOUBLE
60attachment_avg_view_time_millisDOUBLE
61attachment_view_completionDOUBLE
62earned_impressionsDOUBLE
63end_timeVARCHAR
64view_time_millisDOUBLE
65custom_event_1DOUBLE
66impressionsDOUBLE
67custom_event_2DOUBLE
68conversion_view_contentDOUBLE
69attachment_frequencyDOUBLE
70conversion_ad_clickDOUBLE
71conversion_add_billingDOUBLE
72paid_impressionsDOUBLE
73conversion_purchasesDOUBLE

Table: organizations

NoColumn NameTypeNotes
1countryVARCHAR
2contact_nameVARCHAR
3contact_phoneVARCHAR
4my_invited_emailVARCHAR
5configuration_settingsVARCHAR
6rolesVARCHAR
7localityVARCHAR
8created_atVARCHAR
9contact_phone_optinBOOLEAN
10administrative_district_level_1VARCHAR
11typeVARCHAR
12contact_emailVARCHAR
13my_member_idVARCHAR
14accepted_term_versionVARCHAR
15updated_atVARCHAR
16nameVARCHAR
17address_line_1VARCHAR
18createdByCallerBOOLEAN
19idVARCHARPrimary Key
20stateVARCHAR
21postal_codeVARCHAR
22my_display_nameVARCHAR

Table: creatives

NoColumn NameTypeNotes
1packaging_statusVARCHAR
2shareableBOOLEAN
3review_status_detailsVARCHAR
4call_to_actionVARCHAR
5created_atVARCHAR
6brand_nameVARCHAR
7typeVARCHAR
8ad_account_idVARCHAR
9top_snap_media_idVARCHAR
10updated_atVARCHARIncremental sync key
11web_view_propertiesVARCHAR
12nameVARCHAR
13top_snap_crop_positionVARCHAR
14idVARCHARPrimary Key
15review_statusVARCHAR
16forced_view_eligibilityVARCHAR
17headlineVARCHAR
18render_typeVARCHAR
19ad_productVARCHAR

Table: media

NoColumn NameTypeNotes
1file_size_in_bytesINTEGER
2media_statusVARCHAR
3visibilityVARCHAR
4is_demo_mediaBOOLEAN
5file_nameVARCHAR
6created_atVARCHAR
7typeVARCHAR
8ad_account_idVARCHAR
9video_metadataVARCHAR
10image_metadataVARCHAR
11download_linkVARCHAR
12updated_atVARCHARIncremental sync key
13nameVARCHAR
14idVARCHARPrimary Key
15hashVARCHAR
16duration_in_secondsDOUBLE

Table: segments

NoColumn NameTypeNotes
1approximate_number_usersINTEGER
2retention_in_daysINTEGER
3created_atVARCHAR
4descriptionVARCHAR
5source_typeVARCHAR
6ad_account_idVARCHAR
7targetable_statusVARCHAR
8updated_atVARCHARIncremental sync key
9visible_toVARCHAR
10organization_idVARCHAR
11nameVARCHAR
12idVARCHARPrimary Key
13statusVARCHAR
14upload_statusVARCHAR

External Resources

Zipstack Cloud features a powerful SQL querying engine on top of many types of connectors, including those from Trino, some custom connectors and connectors from the open source Airbyte project. Some Zipstack cloud connectors are designed to utilize and expand upon Airbyte's connector protocol, but they do not use Airbyte's EL core. Additionally, some parts of the documentation for these connectors have been adapted from the connector documentation found in Airbyte's open source project.