Last 10 free Supermetrics migrations

Chapter 3 of 12 · min 5:15 to 8:27

What a finished ad data warehouse looks like in BigQuery

The tutorial's end result: ad-level Meta and TikTok Ads tables in BigQuery with millions of rows, images hosted in your own bucket, and a view that unifies both platforms.

A look at the final result in BigQuery

Watch on YouTube (from 5:15) · Spanish audio

The ad-level TikTok table

The video opens with the destination: in BigQuery, an ad-level TikTok table with all the relevant dimensions (campaign, ad group, ad), each ad’s image URL and all the metrics. That table holds almost 300 thousand rows with data from 30 different ad accounts.

The most important detail is in the image column: the creative is hosted in your own bucket. If you’ve worked with ad-level data before, you know the API returns a URL that expires after 7 days and breaks any report. Not here.

Ads table in BigQuery with the images hosted in your own bucket

The Meta table

Meta has an equivalent table: dimensions at campaign, ad set and ad level, plus all the metrics. Almost 3 gigabytes of data and 3 million rows. Strings stored as strings, numbers as numbers, dates as dates: every data format Meta uses comes out properly typed. And the image, just like TikTok, in your own bucket.

The unified view: Meta + TikTok in one table

Finally, a BigQuery view unifies both platforms’ data in a single table. Each platform names things its own way; this view brings everything to a common naming for campaign, ad group, optimization goals, ad and metrics.

That makes consumption much easier: you connect the unified view to a report, an alerting system or whatever you want, without querying two separate tables. This query was built with Claude using the BigQuery MCP, and later in the series you’ll see exactly how.

With this, data from 60 ad accounts lives unified in one place. And it’s extensible: you can add tables for every platform you work with and keep folding them into the unified view.

Frequently asked questions

How much data can this warehouse handle?

The video shows tables with almost 300 thousand rows from 30 TikTok accounts and almost 3 gigabytes with 3 million rows from Meta. BigQuery handles that volume without breaking a sweat; you can extend it to as many accounts and platforms as you need.

What is the unified Meta and TikTok view?

A BigQuery view that consolidates both platforms' tables into one shared field naming: campaign, ad group, ad and analogous metrics. Reports and alerts query one table instead of two.

All chapters in this series

  1. 0:00 1. The problem: ad-level data
  2. 2:19 2. The solution: warehouse, history and incremental deduplication
  3. 5:15 3. A look at the final result in BigQuery
  4. 8:27 4. Step one: connect Claude to Detrics via MCP
  5. 11:02 5. Step two: explore the sources and design the data schema with Claude
  6. 13:51 6. How the Detrics warehouse works
  7. 19:31 7. The table groups created in Detrics
  8. 22:04 8. Step three: create the destination in your own Google Cloud
  9. 25:27 9. Step four: transfers and the historical load
  10. 30:53 10. The data in BigQuery: tables, rows and creatives in your bucket
  11. 33:19 11. Analyzing the data with Claude and the BigQuery MCP
  12. 37:41 12. Final step: the unified Meta + TikTok view

Want to build this with your own data?