Running ads on X (formerly Twitter) is easy. Getting clean, structured campaign data from Twitter Ads to BigQuery? Not so much.
If you’ve ever tried exporting Twitter to Google BigQuery for analysis, you know the pain: manual CSV exports, rate limits, incomplete fields, and clunky integrations.
We believe it shouldn’t be this hard.
With this free, no-code Twitter to BigQuery connector from OWOX Data Marts (Community Apps Script Edition), you can automatically import and refresh raw performance data in minutes, not hours. And best of all? You keep full control and visibility into every metric, with the freedom to build your own BigQuery to Twitter reporting workflows.
Note: Twitter Ads has been rebranded to X Ads following the platform's name change in 2023. In this article, we use both terms interchangeably to help you familiarize yourself with either name.
At OWOX, we believe businesses shouldn’t have to rent access to their own data.
That’s why we built this Twitter Ads to BigQuery connector – and made it 100% free. No upgrades, no hidden fees, no locked features.
Driven by our mission to make data ownership simple and accessible, we want marketers and analysts to move away from black-box tools. You deserve transparency, flexibility, and control – and this Twitter to BigQuery connector gives you just that.
Whether you're a performance marketer, a startup founder, or a data analyst tired of repetitive workarounds, this tool helps you reclaim full access and control over your advertising data.
We’re not just releasing a free connector – we’re inviting you to help shape the future of open marketing analytics tools.
At OWOX, we believe that data access and transparency should be a right, not a luxury. That’s why this connector is 100% open-source – giving you full control over how it works, what it does, and how far it can go.
If you like what we do, please ⭐ star our GitHub repo to show your support – it helps us reach more analysts and grow the number of available connectors.
Also, feel free to:
We’ve built the core, the foundation – now it’s your turn to take it further.
Most tools that promise to move Twitter (X) Ads data into BigQuery come with trade-offs: paywalls, data limits, restricted access to fields, or black-box systems you can’t customize.
Some depend on third-party middleware. Others funnel your data through rigid pipelines or force you into fixed dashboards.
This connector avoids all that.
If you’re frustrated by tools that charge per ad account, limit access, or obscure their process, this free Twitter to BigQuery connector from OWOX Data Marts (Community Apps Script Edition) is the simpler, cleaner choice.
Twitter Ads Manager (X Ads) is great for launching campaigns, but falls short when it comes to custom reporting, large-scale data processing, or joining datasets across platforms.
❌ Reporting metrics are locked into pre-set views
❌ CSV exports expire quickly and don’t scale
❌ No native way to connect with GA4, CRM, or spend data
That’s why this free Twitter Ads to BigQuery connector exists.
✅ Send raw campaign and performance data from Twitter to Google BigQuery
✅ Combine it with other datasets to build end-to-end marketing analysis
✅ Structure your own attribution models, LTV analysis, and custom ROAS logic
With full control over schema, filters, and refresh logic in BigQuery, digital analysts and marketing teams get exactly the data they need, without compromise.
Discover more free connectors:
Liking the freedom of custom reports? Take it further with these plug-and-play integrations:
Twitter Ads → Sheets
Facebook Ads → BigQuery
TikTok Ads → BigQuery
LinkedIn Ads → BigQuery
No fees, no code—only faster, smarter reporting across every ad channel.
The Twitter to BigQuery integration is built using open-source Google Apps Script, no third-party platforms, no code required, and no hidden limits.
Here’s how it works:
Whether you're managing in-house analytics, building marketing dashboards, or powering campaign insights with SQL, this Twitter to Google BigQuery connector helps you:
You control the connector, your BigQuery dataset, and your Twitter ads data from start to finish.
This is where things get powerful. In just minutes, your Twitter (X) Ads data can start flowing into BigQuery, no code, no blockers, just clean, structured data ready for analysis and reporting.
Let’s walk through the setup process step by step.
Start by using our pre-built BigQuery template – no need to set everything up manually.
Configure your import parameters in the “Config” sheet to control what data you bring in and from when.
Go to the “Fields” tab and check the boxes of all the fields you want to import based on your reporting needs.
If the dataset doesn’t already exist, it will be created automatically during the import process.
Further, specify the following parameters in the sheet:
To link the template with your Twitter (X) Ads account, you’ll need four credentials: API Key, API Secret, Access Token, and Access Token Secret. Here's how to generate them safely.
Note: If prompted to upgrade your account, choose the Free tier to proceed without charges.
2. Request Ads API Access
You’ll need to request access to the X (Twitter) Ads API before using the connector.
“We are advertisers looking to connect with the X Ads API to access campaign data for analysis and optimization. The data will be pulled via the OWOX Data Marts platform and used to support strategic decision-making across our marketing efforts.”
3. Configure Your App
4. Generate API Keys
Navigate to the “Keys and Tokens” tab:
5. Get Request Token (via OAuth 1.0)
Using a tool like Postman:
The response will look like:
oauth_token=E4MQKQAAAAAB1yCFAAABl2OHH80&oauth_token_secret=UlDQaqOoJHj1VvLQ8fQH6Iq686rEFww2&oauth_callback_confirmed=true
6. Get Permanent Access Token
Back in Postman:
You now have all the required credentials:
Connect your template to X Ads using the credentials you created earlier.
When prompted:
This step activates the connector with the correct credentials.
Now, you're all set to load your data.
Using this Google BigQuery template, the imported data will be stored in the dataset you defined earlier in the configuration settings.
Want to go beyond raw Twitter Ads data in BigQuery?
Use the OWOX Reports Extension for Google Sheets to turn your Twitter to Google BigQuery data into actionable, visual reports – without writing SQL or setting up Looker Studio.
With OWOX Reports, you can:
📥 Seamlessly pull Twitter Ads data from BigQuery into Google Sheets
📊 Create refreshable dashboards your team can actually use
✅ Give stakeholders real-time access to performance metrics that matter
No manual exports, no code, no delays. Just fast, reliable reporting built for marketing and data teams.
This free Twitter to BigQuery connector from OWOX Data Marts (Community Apps Script Edition) brings us one step closer to making data ownership straightforward, transparent, and accessible for everyone, without costly tools or complex engineering.
Check out the additional resources below:
🔗 More free connectors – including Microsoft Ads, Reddit Ads Connector for BigQuery, so you can centralize all your paid media data in BigQuery without switching tools.
🎥 Step-by-step video tutorials – designed to walk you through setup and usage, whether you’re a beginner or a seasoned analyst.
📊 Prebuilt dashboards – so you can plug your Twitter Ads data into proven reporting templates and get campaign insights faster.
Explore our GitHub repo, leave us a ⭐ star, and join us in building a more open, analyst-friendly data stack.
You can import advertiser account details, campaign data, ad group settings, creative ad content, and detailed performance metrics like impressions, clicks, conversions, spend, and more. You also control which fields you want to include in each import.
Yes. The connector is 100% free, open-source, and maintained by OWOX. There are no hidden limits, no feature gating, and no upgrade plans. You can inspect and customize the Google Apps Script code to suit your needs.
Not at all. The connector runs on Google Apps Script and requires no manual scripting or SQL. You just use a prebuilt Google Sheets template to configure your import, paste your API credentials, and click “Import New Data.”
You can run imports manually at any time using the Google Sheets menu. You can also configure time-based triggers (daily or hourly) using Google Apps Script if needed.
Yes. You can enter multiple Twitter Ad account IDs in the config sheet, separated by commas. The connector will pull data from each of the listed accounts during import.
Each import writes to your specified BigQuery dataset and location. Data is structured in tables based on the imported objects (e.g., accounts, campaigns, ad_groups). If the dataset doesn't exist, it is created automatically.