# Meta Ads (Facebook Ads) + Supabase

> Integrate Facebook Ads campaigns, ad sets, and performance metrics into Supabase with Erathos. Incremental, no-code pipeline with full observability. Start for free.

Source: https://www.erathos.com/en/pipelines/meta-ads-supabase
Em português: https://www.erathos.com/pipelines/meta-ads-supabase

Facebook Ads is an online advertising platform developed by Facebook that lets businesses and advertisers create ad campaigns for display across multiple formats, such as News Feed, Stories, video, and mobile apps.

With Erathos, you can integrate Facebook Ads data into Supabase in just a few minutes. Our platform handles the entire data movement process to your open-source backend platform with PostgreSQL and allows that data to be combined with other sources. That way, your time goes to what really creates value — extracting insights and making data-driven decisions.

### Which Facebook Ads data does Erathos sync with Supabase?

The integration automatically syncs the main Facebook Ads objects:

- **Campaigns** — name, status, channel, start and end dates
- **Leads and contacts** — source, stage, and engagement data
- **Performance metrics** — impressions, clicks, conversions, and cost per result
- **Lists and segments** — composition and segmentation criteria
- **Automations** — flows, triggers, and conversion rates
- **Users** — profiles, preferences, and interaction history

### Why sync Facebook Ads with Supabase?

In Supabase, your data is available through auto-generated REST and GraphQL APIs based on the schema — directly accessible from your application without extra layers. Row Level Security ensures each user can only see the data they’re supposed to see. Ideal for product teams that want analytical data available in the application database in real time.

### How it works

Erathos connects to Facebook Ads through the official API and syncs your data incrementally — only new or updated records are processed in each run. You choose the sync frequency (from every 5 minutes to daily), the objects to sync, and the destination in Supabase. The sync uses smart UPSERT in Supabase (PostgreSQL) to ensure data consistency. You choose the sync frequency, the objects to sync, and the target schema. Each run is logged with full observability: execution time, rows processed, and alerts via Slack or email.

## Facebook Ads data in Supabase in minutes

### Ready-to-use Facebook Ads connector

Connect Facebook Ads to Supabase and automatically export data. Centralize marketing data for analysis—no spreadsheets, no scripts.

### Full control over your Facebook Ads pipelines

Configure scheduling, frequency, and sync type at the table level. Configure sync frequency and type on a per-table basis. Erathos uses smart UPSERT in Supabase — data is available via REST, GraphQL, and Realtime Subscriptions as soon as it lands in the database.

### End-to-end observability

Stop finding out about Facebook Ads failures only after the business team complains. Every run is logged with runtime, rows processed, and error context. Get automatic alerts via Slack, Discord, or email as soon as something goes off track — so your data stays fresh for analysis.

## Centralizing Facebook Ads data in Supabase has never been easier

Erathos is a data ingestion platform built for marketing and data teams. With the Facebook Ads connector, you can automatically centralize campaigns, ad sets, and performance metrics in Supabase — always up-to-date data, full visibility into every run, and zero maintenance.

## FAQ

### What is Erathos, and how can it help my business?

Erathos is a data ingestion platform built for reliability, transparency, and control. We help data teams connect sources like Facebook Ads to their data warehouse — with full observability into every run, zero maintenance, and none of the black-box opacity you get with traditional market tools.

### Which Facebook Ads data does Erathos sync to Supabase?

Erathos integration with Facebook Ads lets you export campaign metrics, audiences, conversions, cost per click, impressions, and channel performance data. All incrementally and with no code.

### How often does Erathos sync data from Facebook Ads to Supabase?

You can configure sync frequency from every 5 minutes up to once a day, at the table level. Erathos uses incremental sync—only new or updated records are processed on each run, keeping the Facebook Ads pipeline efficient and Supabase costs predictable.

### What happens if a Facebook Ads sync fails?

Erathos automatically detects failures and sends alerts to your email, Slack, or Discord with full context — not just “job failed.” Smart retries handle transient errors, and every run is logged with runtime, rows processed, and error context so your team can debug in minutes, not hours.

### Is there a free trial for the Facebook Ads connector?

Yes. Every Erathos connector includes a 14-day free trial. Connect Facebook Ads to Supabase and start syncing right away — no credit card required.
