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.
SnowflakeDateCostClicksDaily 09:00With 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
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /connectors/free-tiktok-ads-connector-to-snowflake.md. The task: 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. Tag the links you give me with utm_campaign=ai-task and utm_term=m4. Use what you know about my context and goals
TikTok Ads Endpoints
7 TikTok Ads endpoints you can import. Each lands in its own table in your data warehouse.
Ad Groups
Ad groups within your campaigns — bid strategy, optimization goal, placement, and targeting schedule.
45 fieldsAd Performance
Daily ad performance — impressions, clicks, spend, conversions, video views, and engagement.
39 fieldsTime seriesAd Performance by Country
Daily ad performance broken down by country — impressions, clicks, spend, conversions, and video views.
40 fieldsTime seriesAds
Individual ads — creative type, format, call to action, status, and links to their campaigns and ad groups.
48 fieldsAdvertiser Account
Advertiser account — name, company, and currency.
4 fieldsCampaigns
Your campaigns — objective, type, status, budget, and schedule.
34 fieldsCustom Audiences
Custom audiences — type, size, validity status, and expiration.
9 fields
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 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
Your data warehouseAdVisitDealJoined by idVideo watched or clickedDeal laterA SQL join links the video to the deal.Step 1: Connect TikTok Ads and choose the fields
Create a Data Mart on Snowflake, pick TikTok Ads as the 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
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
DestinationDatabaseSchematiktok_adsTablead_insightsRun
Tabletiktok_ads.ad_insightsStep 3: Read the output schema in plain words
Each column in the output schema has a description in ordinary language. Your 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 ViewsStep 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 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
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
Step 6: Use the same Snowflake tables in every report
The tables serve your model, , , 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
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.44.0Connector Data Marts set up through MCP no longer fail their first run because of the table path
- 0.44.0Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation
- 0.41.0Rotating a warehouse key is one change: Storages share reusable Credentials
- 0.41.0Shared SQL logic stays in one place: build a Data Mart on top of another
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.
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.