Skip to main content

Overview

This source syncs ad management objects and performance insight reports from the TikTok Marketing API. It covers advertisers, campaigns, ad groups, ads, and a set of insight breakdowns (by age/gender, country, platform, and province). Authentication is via a long-lived access token issued by the TikTok Marketing API portal. The token is scoped to one or more advertiser accounts, which you list in accounts. Insight streams (ad_insights, ad_insights_by_*) sync incrementally from start_date. Entity streams (advertisers, campaigns, adgroups, ads) sync full table by default.

Configuration


Sample configs

Minimal — entity and insight streams for one account:
Multiple accounts with deleted rows included:
Sandbox testing:

Streams


How to get an access token

  1. Go to the TikTok for Business Marketing API portal.
  2. Create a new app (use the Marketing API app flow, not the consumer “TikTok for Developers” Login Kit/Share Kit flow).
  3. Under app permissions, request read access for:
    • Ad Account Management
    • Ads Management
    • Reporting
  4. Optionally add a sandbox advertiser for testing without spending budget.
  5. Authorize the app against your TikTok Ads account and generate an access token.
  6. Copy the access_token and your advertiser ID(s) into the source config.
Token expiry: TikTok Marketing API access tokens are long-lived but can expire. If syncs fail with auth errors, regenerate the token in the portal and update your config.