TikTok Ads
Coming soon (platform verification) Ads
Reads campaigns, ad groups, ads and daily reports so TikTok spend, pacing and CAC sit next to Google and Meta.
What we pull
- advertiser (currency, time zone)
- campaigns, ad groups, ads with budgets
- daily integrated report (spend, impressions, clicks, conversions, purchase value)
Every record lands as a financial event with source_type, external_id (deduplicated on re-sync) and provenance. Mode: mock.
Signals and sync
- Scheduled sync only (no webhooks).
- Sync interval: daily.
- Health signals:
auth_expired,silent(no sync for over twice the interval),error. Each becomes an in-app notification for the owner and shows in Integrations.
Permissions and secrets
- TikTok for Business developer app (Marketing API)
- Advertiser authorization with Reporting and Ad Account read scopes
- Long-lived access token
Secrets are encrypted at rest (AES-256-GCM, per-owner) and never returned by the API; the panel shows only the last 4 characters and the date. Read-only keys wherever the provider offers them.
Availability
Coming soon: the provider is verifying our app. Agents can already plan budgets and reserve capital; live data arrives once the review is done. Use “Notify me” in the panel.
Setup steps
From the Integrator’s owner checklist (Polish; the panel walks you through the same steps).
Dopóki nie zdecydujesz, że TikTok ma być trzecią platformą (panel: „Available soon"), nic tu nie rób. Gdy zdecydujesz:
G1. Aplikacja deweloperska (10 min + weryfikacja firmy 1 do 5 dni)
- https://business-api.tiktok.com/portal → Become a Developer → dane firmy (weryfikacja) → My Apps → Create an App: nazwa
Operlance, opis, Advertiser redirect URL:https://api-production-3516.up.railway.app/v1/integrations/tiktok_ads/callback. - Scope of permissions: zaznacz tylko Ad Account Management: Read i Reporting (nie Ads Management write) → Submit.
- Po akceptacji: App ID → Railway
TIKTOK_APP_ID, Secret → RailwayTIKTOK_APP_SECRET(pokazany raz).
G2. Autoryzacja konta reklamowego (5 min)
- W aplikacji skopiuj Advertiser authorization URL → otwórz zalogowany na konto TikTok for Business → wybierz konto reklamowe (Clothing) → Confirm. Przekierowanie trafia do naszego API, które wymienia
auth_codena token (nic nie wklejasz ręcznie). - Jeśli chcesz wpisać token sam (MVP bez callbacku): Tools → Access Token generator w aplikacji → Railway
TIKTOK_ACCESS_TOKEN(długoterminowy) oraz Advertiser ID (Ads Manager → Account info) → RailwayTIKTOK_ADVERTISER_ID. - Włączenie adaptera (do czasu wpisu platformy w KONTRAKT): Railway
TIKTOK_ADS_ENABLED=on. Bez webhooków: dane spływają raz dziennie.