Experimental feature: TikTok Ads connector is currently in beta. We’re actively improving sync reliability and adding more features.
Prerequisites
- A TikTok Ads Business account with active campaigns
- Permission to access data from the TikTok Ads accounts you want to sync
- TikTok Ads account must have campaign data
Connecting TikTok Ads
You can connect TikTok Ads in two ways: from the Sources page if you’re already using AstroBee, or during the onboarding process if you’re a new user.- During onboarding
- From Sources page
Start connection
A “Configure Connector” modal appears showing “TikTok Ads Not Connected”. Click the orange Connect button to begin setup.

Authorize with Fivetran
AstroBee uses Fivetran to securely connect to TikTok Ads. Review the security information and click Continue.
Fivetran ensures:

- Secure: Data transfer is encrypted end-to-end and your credentials are never exposed
- Private: Your data passes through without permanent storage
Authenticate with TikTok
On the Fivetran setup page, click Authorize to log in through OAuth. You’ll be redirected to TikTok to grant access.
Follow the Fivetran TikTok Ads setup guide for detailed instructions.

Configure sync settings
After authentication succeeds, configure your sync settings:

- Advertiser IDs: Enter specific advertiser IDs to sync selected accounts, or leave empty to sync all accounts you have access to
Select tables to sync
Back in AstroBee, the “Configure Connector” modal shows your sync progress. Expand Sync Settings to select which tables to include.
Tables marked “(always synced)” are required. Common tables include:

- advertiser: Your TikTok Ads account information and settings
- campaign: Campaign details, budgets, and objectives
- ad_group: Ad group settings and targeting
- ad: Individual ad creative and performance data
- ad_report_hourly: Hourly performance metrics for detailed analysis
Data layer building
A modal appears showing “Your data layer is building”. AstroBee is unifying, deduplicating, and resolving entities across your data.
This may take 10 minutes to a couple of hours. Feel free to close this and come back later.

Data syncing
The Sources page shows your sync progress. Your data source is syncing and the data layer will be generated automatically once syncing completes.
It’s safe to close this window and continue working. You can connect other data sources while you wait.

What happens next
After connecting TikTok Ads, AstroBee automatically generates a data layer from your synced tables. Once complete, you can start querying your advertising data using natural language.Syncing data
TikTok Ads connections use manual sync - you control when data is refreshed. To sync your latest advertising data:- Navigate to the Sources page
- Find your TikTok Ads connection
- Click the sync button
Understanding TikTok Ads data
TikTok Ads syncs multiple related tables:- Campaign data: Campaign names, objectives, budgets, and status
- Ad group data: Targeting, placement, and bidding settings
- Ad creative: Video ads, images, text, and call-to-action settings
- Performance metrics: Impressions, clicks, spend, conversions, and engagement
- Hourly reports: Detailed time-series data for performance analysis
Troubleshooting
For additional help, see Fivetran’s TikTok Ads troubleshooting guide.Authentication failed
Authentication failed
Issue: Unable to authorize access to TikTok Ads.Solution:
- Ensure you have a TikTok Ads Business account
- Verify you have permission to access the advertiser accounts you want to sync
- Check that you’re signed in to the correct TikTok account
- Try re-authorizing from the beginning
- Confirm your TikTok Ads account is not suspended
Banned IP error
Banned IP error
Issue: Connection fails with “Client IP Address Is In Banned Country List” error.Solution:
- TikTok restricts API access from certain countries in the ASIA_SOUTH region
- Follow the banned IP troubleshooting guide to change your cloud region
- Consider using US or EU cloud regions instead
- Contact support@astrobee.ai if you need help changing regions
No data syncing
No data syncing
Issue: Connection succeeds but no data appears in tables.Solution:
- Verify your TikTok Ads account has active or past campaigns
- Check that you entered the correct advertiser IDs
- Ensure your campaigns have actually run and generated data
- Wait for the initial sync to complete (can take 10+ minutes for accounts with extensive campaign history)
- Trigger a manual sync to refresh data
Sync taking too long
Sync taking too long
Issue: Initial sync appears stuck or is taking longer than expected.Solution:
- Accounts with extensive campaign history can take 30+ minutes to sync
- Check your internet connection
- Avoid making changes to the connection during sync
- TikTok Ads API rate limits may slow down large syncs
- If stuck for more than an hour, contact support at support@astrobee.ai
Missing campaigns or ads
Missing campaigns or ads
Issue: Some campaigns or ads don’t appear in synced data.Solution:
- Verify you have access to those campaigns in TikTok Ads Manager
- Check that campaigns are not archived or deleted
- Ensure your advertiser ID configuration includes the account containing those campaigns
- Trigger a new sync to pull the latest data
- Review your TikTok Ads permissions for the advertiser accounts
Incorrect advertiser ID
Incorrect advertiser ID
Issue: Cannot find or sync specific advertiser accounts.Solution:
- Find your advertiser ID in TikTok Ads Manager (usually in the URL or account settings)
- Ensure the advertiser ID is entered correctly (numeric format)
- Verify you have permission to access that advertiser account
- Leave the advertiser ID field empty to sync all accessible accounts
- Re-authenticate if you recently gained access to new accounts
Performance data incomplete
Performance data incomplete
Issue: Some metrics or time periods are missing from reports.Solution:
- TikTok Ads data may have a delay of up to 48 hours for finalized metrics
- Check your attribution window settings - they affect conversion data
- Verify the campaigns were active during the time period you’re querying
- Trigger a new sync to pull the latest performance data
- Some metrics require specific TikTok Ads features to be enabled
Historical backfill taking too long
Historical backfill taking too long
Issue: Status shows “Backfilling history” for many hours.Solution:
- Historical backfills for TikTok Ads can take 12+ hours for accounts with extensive campaign data
- This is normal behavior, not a stuck sync
- You can safely close the browser and return later
- The sync continues in the background and your data layer will generate automatically when complete
- If backfill exceeds 72 hours with no progress, contact support at support@astrobee.ai
Data layer not generating
Data layer not generating
Issue: Sync completed but data layer shows an error or never finishes building.Solution:
- Check that at least one table was selected during setup
- Verify your synced tables contain actual data (not empty)
- Try refreshing the page to see updated status
- If the error persists, try disconnecting and reconnecting TikTok Ads
- Contact support at support@astrobee.ai with the error message if the issue continues
















