Sync X Ads Data to BigQuery
Detrics loads X Ads into Google BigQuery on the schedule you set. The tables arrive clean, the history keeps growing, and you can query everything from SQL, Looker Studio, or Claude. We run the pipeline so you don't have to.
*Free 30-minute consultation
SELECT
campaign_id,
SUM(impressions) AS impressions,
SUM(video_total_views) AS video_total_views,
SUM(video_views_25) AS video_views_25
FROM `your_project.marketing_data.x_ads_video_performance_daily`
WHERE date >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
GROUP BY campaign_id
ORDER BY impressions DESC
LIMIT 10Why send X Ads data to BigQuery?
Ad creatives that never expire
Creative URLs expire. Detrics archives your campaign images and videos permanently.
History without limits
Platform APIs cap how far back you can query. In BigQuery every X Ads sync is stored across its 11 tables, so you accumulate years of your own history.
One warehouse for everything
Join X Ads with the rest of your platforms in one place, no copy-pasting between sheets.
Ask Claude about it
With your data in BigQuery, Claude can answer business questions about X Ads in plain language.
X Ads tables in BigQuery
This is what Detrics creates for X Ads: 11 preset tables with scheduled syncs, plus any custom one you define.
Campaign Performance
account_overview_dailyX advertising campaign metrics overview
campaign_performance_dailySocial media engagement insights
ad_group_performance_dailyAd Group level performance with campaign context
Creative & Conversions
tweet_content_performanceTweet content with performance metrics
video_performance_dailyVideo completion rates by campaign
social_engagement_dailySocial engagement - likes, retweets, replies
From X Ads to your warehouse
Connect your account once. Detrics handles schemas, syncs, and backfills.
Connect your first datasource
Link any of 32+ marketing and ecommerce platforms in a couple of clicks.
Set up your destination
Point Detrics at your BigQuery project and dataset. We write the SQL and handle the setup for you.
Create your transfer
Choose what to sync and how often. Detrics builds and runs the pipeline for you.
Real-time data, forever
Your data lands in the warehouse and stays fresh automatically. We handle the syncing, the maintenance, and every API update for you.
In the demo we set everything up for you and save you hours.
Then ask Claude about it
With X Ads in BigQuery, the Detrics MCP server lets you run queries in plain language. MCP access is included with every BigQuery plan.
My X Ads CPA jumped last week. Find out where.
Build a weekly X Ads report for my client meeting
Detect anomalies in my X Ads spend over the past 14 days
Every X Ads field, on demand
- Preset tables curated by our team
- Custom tables with any field combination
- Incremental syncs that only load new data
- Automatic backfill of up to 12 months of history
Get X Ads into your warehouse this week
- Setup guided by our team, in your own GCP project
- Historical backfill included (up to 12 months)
- Query it from Looker Studio, Sheets, or Claude afterwards
