Connector

Collect TikTok Ads data in Google BigQuery

Load TikTok Ads campaigns, ad groups, ads and daily performance into your own BigQuery tables with OWOX Data Marts: one table per endpoint, a business-friendly schema, refreshed on a schedule. Join it with web analytics and CRM to see which videos lead to deals.

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

Get Started Free

Endpoints

S00 · Why

Why join TikTok Ads with your web analytics and CRM

TikTok Ads Manager shows spend, video views and the conversions TikTok counted. A video watched on TikTok and a purchase made later on your site live in different systems. Spend, website touch points and CRM deals have to sit in one data warehouse to connect them.

  • Compare TikTok spend with Facebook, Google and Microsoft in one table
  • Connect video views and clicks to the visits and deals that followed
  • Keep video and engagement metrics beside cost in your own tables
TikTok AdsVideo ad spend
Web analyticsVisits, sign-ups
CRMDeals
Your data warehouseBigQueryAdTouch pointDealJoined by idVideo watched or clickedDeal laterOne query links the ad to the deal.

S01 · Step 1

Step 1: Connect TikTok Ads and pick the fields

Create a Data Mart, choose TikTok Ads as the data source, continue with TikTok or add an access token, list your advertiser ids and tick only the fields you need.

  • 7 endpoints and 217 fields to choose from
  • Ad Performance alone has 39 fields: spend, clicks, conversions, video views, likes, shares
  • Choose a data level for performance: 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 BigQuery table

The dataset and table in your data storage are pre-filled, and you can change them. Run it and the first load, from the start of the previous month through today, lands in your own BigQuery project.

  • Performance goes to a table such as tiktok_ads_ad_insights
  • Several advertiser ids load into one table
DestinationBigQueryDatasettiktok_adsTablead_insightsRun
Run HistoryPendingRunningSuccessIncremental load
Tabletiktok_ads.ad_insights

S03 · Step 3

Step 3: Get a business-friendly output schema

After the first run you get the output schema: every field with a readable description, not an API identifier. Your data quality checks can read it too.

  • Video completion and engagement fields such as follows and profile visits are described in plain words
  • Anyone on the team can read the table
tiktok_ads.ad_insightsOutput schemaFieldDescriptionstat_time_dayStatistics DatespendSpendimpressionsImpressionsclicksClicksconversionConversionsvideo_viewsVideo Views

S04 · Step 4

Step 4: Keep the TikTok Ads tables linked

Campaigns, ad groups, ads and performance stay separate tables, joined by ids. Together they become one TikTok Ads data model.

  • campaign_id, adgroup_id and ad_id repeat down the levels
  • Pick 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 refresh and backfill history

Set it once. A scheduled refresh keeps the tables current, and a manual backfill loads any past period.

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

S06 · Step 6

Step 6: Reuse the same table everywhere

One table feeds your data model, spreadsheets, dashboards, AI assistants like Claude and ChatGPT, and scheduled AI insights in Slack or email.

  • Rank videos by cost and conversions in one view
  • Every report reads the same table
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 BigQuery

Hand-built API scripts, a generic ETL tool or manual exports each get TikTok data out. OWOX also keeps it yours, readable and ready to model.

  • You own the data. It lands in your own BigQuery project, in tables you control.
  • Your grain, your table. Choose ad, ad group, campaign or advertiser level, and add a country breakdown as its own table.
  • Ready for a data model. Separate tables joined by campaign, ad group and ad ids, built to connect to web analytics and CRM.
  • Maintained for you. No scripts to fix when TikTok changes its API.
  • Free to self-host. The open-source OWOX Data Marts runs in your own infrastructure.

Book a callGet Started Free

Trust

The Data Partner You Can Trust

users

176K Source: Internal OWOX data as of 2026-10-02

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

165K3

In Open Source We Trust

Customers