Connect TikTok Ads to BigQuery
Spend, impressions and conversions from TikTok Ads, by ad account, campaign, ad group or ad, in your own BigQuery dataset. Add Day to a report and history builds up.
- One table per report, named after it: fs_spend_by_campaign, for example.
- Refreshes every day on Plus, every 6 hours on Pro and every hour on Max.
- Up to 50,000 rows a report.
30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.
| date | campaign_ | conversions | spend |
|---|---|---|---|
| 2026-10-20 | Autumn blend launch | 65 | 2447.74 |
| 2026-10-20 | Holiday gift sets | 64 | 2495.84 |
| 2026-10-19 | Single origin drop | 57 | 2278.10 |
| 2026-10-19 | Brew guide | 56 | 2311.63 |
| 2026-10-18 | Welcome back | 50 | 2092.00 |
How to connect TikTok Ads to BigQuery
To export TikTok Ads to BigQuery you need a Google Cloud project with a dataset in it, and a TikTok ad account you can sign in to.
- On the Sources page, choose Connect TikTok, sign in on TikTok's own page and pick the ad accounts Fresh Sheets can read.
- In Fresh Sheets, go to Destinations and choose Add a dataset. Enter the project ID and dataset ID.
- In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role on your dataset, and add the label it shows.
- Back in Fresh Sheets, choose Check and add.
- Choose New report, pick TikTok Ads and the account, then the level, fields and date range.
- Under Destination, pick your dataset and name the table. Under Schedule, pick how often. Then Save and run.
Columns TikTok Ads writes to BigQuery
Each report is one table: the columns you pick, plus _fs_written_at, the time the row landed. Money is in the account's own currency.
| Column | Type | Fresh Sheets field | Available at |
|---|---|---|---|
date | DATE | Day | Every level |
advertiser_ | STRING | Ad account | Every level |
advertiser_ | STRING | Ad account ID | Every level |
campaign_ | STRING | Campaign | Campaign, Ad group, Ad |
campaign_ | STRING | Campaign ID | Campaign, Ad group, Ad |
ad_ | STRING | Ad group | Ad group, Ad |
ad_ | STRING | Ad group ID | Ad group, Ad |
ad_ | STRING | Ad | Ad |
ad_ | STRING | Ad ID | Ad |
currency | STRING | Currency | Every level |
impressions | INT64 | Impressions | Every level |
clicks | INT64 | Clicks (destination) | Every level |
reach | INT64 | Reach | Every level |
conversions | FLOAT64 | Conversions | Every level |
spend | NUMERIC | Spend | Every level |
cpc | NUMERIC | CPC (destination) | Every level |
cpm | NUMERIC | Cost per thousand impressions | Every level |
cost_ | NUMERIC | Cost per conversion | Every level |
Deleted campaigns, ad groups and ads are included, so past spend doesn't vanish when you tidy up. Days are in your ad account's time zone.
An example
A query for the report saved as Spend by campaign:
SELECT
date,
campaign_name,
SUM(spend) AS spend,
SAFE_DIVIDE(SUM(spend), SUM(conversions)) AS cost_per_conversion
FROM `your-project.your_dataset.fs_spend_by_campaign`
WHERE date >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
GROUP BY date, campaign_name
ORDER BY date DESC, spend DESC;Scheduling and refresh
Include Day and each run replaces only its own dates, so history builds up. Leave it out and each run replaces the whole table.
Try it with your own TikTok Ads data in BigQuery.
Other ways to do it
Google's BigQuery Data Transfer Service has no TikTok Ads connector of its own. The alternatives are a paid connector from another vendor, or TikTok's reporting API and code you run yourself.
Source: Google Cloud: BigQuery Data Transfer Service supported data sources; TikTok Ads Help: Marketing API
This TikTok Ads BigQuery integration does that part for you.
What this doesn't cover
TikTok organic posts and TikTok Shop aren't included. This reads TikTok Ads reports only.
Questions
How do I connect TikTok Ads to BigQuery?
Connect TikTok on the Sources page, add your dataset under Destinations, then build a report that sends to it on a schedule. No code, and nothing to maintain.
Other sources to BigQuery
Analytics
Advertising
- TikTok Ads to Google Sheets
- More on BigQuery
- TikTok Ads to Excel
- How to connect TikTok Ads to Google Sheets
- TikTok Ads in Claude
Last checked 22 October 2026
Send your TikTok Ads reports to BigQuery
BigQuery is included in your 30 days of Plus, then on every paid plan.
30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.
Paid plans from £15 a month, or £12 a month billed annually.
