Connector

Load TikTok Ads data into Databricks

Send TikTok Ads campaigns, ad groups, ads and daily performance to Databricks with OWOX Data Marts: one table per endpoint, readable descriptions, a scheduled refresh. Join them with web analytics and CRM to see which videos led to deals.

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

Get Started Free

Endpoints

S00 · Why

Why join TikTok Ads with web analytics and CRM in Databricks

TikTok Ads Manager shows spend, video views and the conversions TikTok counted. The purchase made later on your site lives elsewhere. Join spend, website touch points and CRM deals in one data warehouse to connect the two.

  • Put TikTok spend beside Facebook, Google and Microsoft Ads
  • Follow video views and clicks to the visits and deals after them
  • Keep video and engagement metrics next to cost in your tables
TikTok AdsVideo ad spend
Web analyticsVisits, sign-ups
CRMDeals
Your data warehouseDatabricksAdTouch pointDealJoined by idVideo watched or clickedDeal laterOne query links the ad to the deal.

S01 · Step 1

Step 1: Connect TikTok Ads and choose what to load

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 sourceGoogle AdsTikTok AdsReddit AdsAuthorizeConnectedEndpointAd PerformanceAd GroupsAd Performance by…Ads
Ad Performance39 fieldsstat_time_dayspendimpressionsclicksconversionvideo_views

S02 · Step 2

Step 2: Load TikTok Ads into Databricks tables

The catalog defaults to main, and the schema and table are pre-filled; change any of them. Run it and the first load, from the start of the previous month through today, lands in your own Databricks workspace.

  • Performance goes to a table such as tiktok_ads_ad_insights
  • Several advertiser ids load into one table
DestinationDatabricksCatalogmainSchematiktok_adsTablead_insightsRun
Run HistoryPendingRunningSuccessIncremental load
Tablemain.tiktok_ads.ad_insights

S03 · Step 3

Step 3: Open the output schema in plain words

The first run gives you the output schema: every field with an alias and 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
  • Teammates can query the table without the API reference
main.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. In SQL 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: Refresh on a schedule and backfill the history

Set it once. A scheduled refresh keeps the Databricks tables current, and a manual run loads a past period of your choice.

  • 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 Databricks tables in every tool

One set of tables feeds your data model, spreadsheets, dashboards, AI assistants like Claude and ChatGPT and 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 Databricks

Databricks has connectors of its own, and plain API notebooks get TikTok data in too. OWOX adds control over the grain and how it reads.

  • You own the data. It lands in your own Databricks workspace, in tables you control.
  • Your grain, your table. Choose ad, ad group, campaign or advertiser level, and load a country breakdown as its own table.
  • Described columns. Video completion and engagement fields such as follows and profile visits carry plain-word descriptions.
  • Joined by campaign, ad group and ad ids. The tables arrive ready to meet web analytics and CRM in SQL.
  • Maintained for you. No jobs to repair 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

175K Source: Internal OWOX data as of 2026-11-11

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