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

Connect Instagram Ads to Supabase

Send Instagram Ads campaigns, reports and insights, ad sets and 1 more report type to Supabase on a schedule. Pick the ad accounts, choose metrics and dimensions, filter by date and add your own filters. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

Supabase schema instagram_ads
  • list_of_campaigns
  • reports_and_insights
  • list_of_ad_sets
  • list_of_ads
Each Instagram 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 Instagram Ads and Supabase

7 steps. You can preview the Instagram Ads data in Coupler.io before anything reaches Supabase.

Step 1 of 7

Connect Instagram Ads

Sign in to Instagram Ads and authorize Coupler.io. There's no API key to copy.

Sign in with Instagram Ads

Step 2 of 7

Choose what to export

Pick the Instagram Ads data you want in Supabase.

Core components

Analytics & reporting

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 the start date of the analytics period.
End dateAny dateSpecify the end date of the analytics period.
Split data by periodNot setBy default, the report will present a daily breakdown for the specified analytics period.

Step 4 of 7

Pick metrics and dimensions

Choose what to measure and how to break it down.

Metrics and dimensionsNot setSelect one or more values for “metrics and dimensions”, e.g. “Account currency”, “Account id”, “Account name”, “Ad id”, “Ad name”.
BreakdownsNot setSelect a value for “breakdowns”, e.g. “Age, Gender”, “Country, Region”, “Comscore Markets”.

Step 5 of 7

Fine-tune the export

Optional settings for this Instagram Ads export.

Attribution settingsNot setChoose how attribution settings should be applied: inherit them from your ad account or ad group, or specify them manually for full control.Learn more
Action attribution windowsNot setSelect the time frame for attributing conversions to your ads.
FiltersNot setTo set up a filter, you need to use the Graph API syntax. See instructions in the Help Center.

Step 6 of 7

Connect Supabase

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

Hostaws-0-eu-central-1.pooler.supabase.comSession pooler host from the Supabase Connect panel
Port5432Default is 5432
DatabasepostgresUsually postgres
Tablelist_of_campaignsCreated 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
Schemainstagram_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 list_of_campaigns and loads fresh Instagram Ads data.

Get the most of Instagram 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.
Instagram Ads to Supabase questions

4 report types, including Campaigns, Reports and Insights, Ad sets and Ads.

You sign in to Instagram 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. Pick the metrics and dimensions you need, and split results by any of 140 breakdowns.

Yes. Add filter conditions in the source settings to keep only the Instagram Ads records you need.

Yes. On the first successful run, Coupler.io creates the instagram_ads schema and the list_of_campaigns table if the database user has the privileges to do so, and detects column types from the Instagram Ads data.

Its writes aren't governed by RLS policies, and the tables it creates have RLS turned off. Keep Instagram 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!