Connector

Collect TikTok Ads data in Snowflake

Load TikTok Ads campaigns, ad groups, ads and daily performance into Snowflake with OWOX Data Marts. Each endpoint is its own table, kept current on a schedule, so you can join video spend to web analytics and CRM.

TikTok AdsConnectedAd GroupsAd PerformanceAd Performance…Ads
Data MartPublishedone definition
SnowflakeDateCostClicksDaily 09:00
Refreshed on a schedule. No exports, no copy-paste.

Get Started Free

Hand this to your AI

With several TikTok advertiser accounts, total TikTok spend is a sum someone adds up by hand every month.

Paste this into your AI assistant. It loads every TikTok advertiser ID into one Snowflake table with OWOX Data Marts on a schedule, so total spend and conversions come from one query.

The prompt

load all our TikTok advertiser IDs into one Snowflake table and give me monthly spend, clicks and conversions per advertiser account and campaign, plus the total

Endpoints

S00 · Why

Why TikTok Ads belongs next to your CRM in Snowflake

TikTok Ads Manager reports spend, video views and the conversions TikTok counted. The video someone watched and the purchase they made later sit in different systems. Load both as tables in one data warehouse and a SQL join can connect them.

  • Compare TikTok spend with Facebook, Google and Microsoft in one query
  • Connect video views and clicks to the visits and deals after them
  • Keep engagement metrics beside cost in your own account
TikTok AdsVideo ad spend
Web analyticsVisits, sign-ups
CRMOpportunities, deals
Your data warehouseSnowflakeAdVisitDealJoined by idVideo watched or clickedDeal laterA SQL join links the video to the deal.

S01 · Step 1

Step 1: Connect TikTok Ads and choose the fields

Create a Data Mart on Snowflake, pick TikTok Ads as the data source, continue with TikTok or add an access token, list the advertiser ids and select fields.

  • 7 endpoints and 217 fields are available
  • Ad Performance has 39 fields: spend, clicks, conversions, video views, likes and shares
  • Set the data level to ad, ad group, campaign or advertiser
New Data MartChoose a sourceFacebook AdsTikTok AdsGoogle AdsAuthorizeConnectedEndpointAd PerformanceAd GroupsAd Performance by…Ads
Ad Performance39 fieldsstat_time_dayspendimpressionsclicksconversionvideo_views

S02 · Step 2

Step 2: Load TikTok Ads into a Snowflake table

Confirm the Snowflake database, schema and table, or edit them. The first run lands the data in your account.

  • Performance goes to its own table, such as the ad insights table
  • Several advertiser ids share one table
DestinationSnowflakeDatabaseSchematiktok_adsTablead_insightsRun
Run HistoryPendingRunningSuccessIncremental load
Tabletiktok_ads.ad_insights

S03 · Step 3

Step 3: Read the output schema in plain words

Each column in the output schema has a description in ordinary language. Your data quality checks can read it too.

  • Video completion fields and engagement fields such as follows and profile visits are explained
  • A colleague can read it without the API docs
tiktok_ads.ad_insightsOutput schemaFieldDescriptionstat_time_dayStatistics DatespendSpendimpressionsImpressionsclicksClicksconversionConversionsvideo_viewsVideo Views

S04 · Step 4

Step 4: Join the TikTok Ads tables in SQL

Campaigns, ad groups, ads and performance are separate Snowflake tables that share ids, and together they make one TikTok Ads data model.

  • Each level repeats the ids above it: campaign_id, adgroup_id, ad_id
  • Choose the data level before the first load; to change it, start a new Data Mart or table
Campaignscampaign_idcampaign_nameobjective
Ad Groupsadgroup_idadgroup_nameoptimization_goal
Adsad_idcampaign_idadgroup_id
Ad Performancead_idspend

S05 · Step 5

Step 5: Schedule the load and backfill history

One schedule keeps the tables fresh through a scheduled refresh, and a manual run fills in history.

  • A lookback window, 2 days by default, reloads recent days every run
  • Backfills over 31 days run as consecutive segments
ScheduleRun on a scheduleDaily 09:00
BackfillRun backfill
Run HistoryDaily scheduleManual backfillDaily schedule

S06 · Step 6

Step 6: Use the same Snowflake tables in every report

The tables serve your data model, spreadsheets, dashboards, AI assistants like Claude and ChatGPT and AI insights in Slack or email.

  • Rank videos by cost and conversions
  • All reports share one source of numbers
TikTok AdsData MartPublished
Blended ad spend
Google Sheets
Data Studio dashboards
Claude, ChatGPT
Slack, email

Recent updates

Why OWOX

Why OWOX for TikTok Ads in Snowflake

A custom API script or manual export moves TikTok data once. OWOX keeps it as Snowflake tables that you own and can model.

  • Your Snowflake account. The data sits in tables you control, under your own access rules.
  • Pick the grain. Load at ad, ad group, campaign or advertiser level, and add a country breakdown as its own table.
  • Ready to model. Campaign, ad group and ad ids line the tables up for joins to web analytics and CRM.
  • Looked after for you. When TikTok changes its API, you have no script to fix.
  • Free when self-hosted. The open-source OWOX Data Marts runs on your own infrastructure at no licence cost.

Book a callGet Started Free

Trust

The Data Partner You Can Trust

users

166K Source: Internal OWOX data as of 2026-11-15

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

171K3

In Open Source We Trust

Customers