Connect your data to Claude in 1 minute. No code needed Try it now

Connect X (Twitter) Ads to Supabase

Send X (Twitter) Ads campaigns, accounts, funding instrument and 4 more report types to Supabase on a schedule. Pick the ad accounts and filter by date. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

Supabase schema twitter_ads
  • campaign
  • account
  • funding_instrument
  • ad_group_line_item
  • media_creative
  • 2 more report types
Each X (Twitter) Ads report type lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Spotify
fifty-five
Al Jazeera
InPost
Visma
REHAU
Getir
Printify
Macromill
Stanford
Médecins Sans Frontières
Greenpeace
Save the Children
San Diego FC

How to connect X (Twitter) Ads and Supabase

7 steps. You can preview the X (Twitter) Ads data in Coupler.io before anything reaches Supabase.

Step 1 of 7

Connect X (Twitter) Ads

Sign in to X (Twitter) Ads and authorize Coupler.io. There's no API key to copy.

Sign in with X (Twitter) Ads

Step 2 of 7

Choose what to export

Pick the X (Twitter) Ads data you want in Supabase.

Ad accountsNot setSpecify Ad accounts from where you want to extract data.

Step 3 of 7

Set the report period

Choose the date range the report covers.

Start dateAny dateSpecify start date for the period you want to fetch data for.
End dateAny dateSpecify end date for the period you want to fetch data for.
Split data by periodNot setSpecify the period to split your report data.

Step 4 of 7

Pick metrics and dimensions

Choose what to measure and how to break it down.

Metric groupsNot setSelect one or more values for “metric groups”, e.g. “Billing”, “Engagement”, “Life time value mobile conversion”, “Media”, “Mobile conversion”.
DimensionNot setChoose the dimension by which your report data will be grouped. Dimensions are not supported for Media creative report type and Life time value mobile conversion metric group.
CountryNot setSpecify country for which report will be generated for selected previously dimension.
PlatformNot setSpecify platform for which report will be generated for selected previously dimension.

Step 5 of 7

Fine-tune the export

Optional settings for this X (Twitter) Ads export.

PlacementNot setSelect placement type to include in the report. For “All” option separate row will be returned for each placement type.

Step 6 of 7

Connect Supabase

Enter the connection details from your Supabase project's Connect panel, then the schema and table for the X (Twitter) Ads data.

Hostaws-0-eu-central-1.pooler.supabase.comSession pooler host from the Supabase Connect panel
Port5432Default is 5432
DatabasepostgresUsually postgres
TablecampaignCreated automatically on the first run
Show 3 more fields Show fewer fields
Userpostgres.abcdefghijklmnopPooler user looks like postgres.[project-ref]
Password••••••••••••Database password, not an API key
Schematwitter_adsA dedicated schema keeps it out of the Data API

Step 7 of 7

Choose a write mode and schedule

Every run either replaces or appends the data in Supabase. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in campaign and loads fresh X (Twitter) Ads data.

Get the most of X (Twitter) Ads to Supabase integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
X (Twitter) Ads to Supabase questions

7 report types, including Campaign, Account, Funding instrument, Ad group (Line item) and Media creative.

You sign in to X (Twitter) Ads and authorize Coupler.io. There's no API key to copy.

Yes. Set the start date and end date to cover the period you need. Splitting the data by period is available too.

Yes. On the first successful run, Coupler.io creates the twitter_ads schema and the campaign table if the database user has the privileges to do so, and detects column types from the X (Twitter) Ads data.

Its writes aren't governed by RLS policies, and the tables it creates have RLS turned off. Keep X (Twitter) Ads data in a schema your app doesn't expose through the Data API.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example Google Ads or Facebook Ads, and join or append them before the data reaches Supabase.

High five for scrolling till the very end!
See you in the app!