# Facebook Pages + ClickHouse

> Centralize Facebook Pages ad performance in ClickHouse with Erathos. Track ROAS, CPL, and conversions with observable pipelines and zero downtime.

Source: https://www.erathos.com/en/pipelines/facebook-pages-clickhouse
Em português: https://www.erathos.com/pipelines/facebook-pages-clickhouse

Facebook Pages is a tool that allows companies and brands to create pages to connect with their audience on Facebook. ClickHouse is an open-source columnar analytical database designed for fast queries and real-time processing of large data volumes.

With Erathos, Facebook Pages data is delivered to ClickHouse in an OLAP-optimized format, ready for high-concurrency dashboards and millisecond-level queries even across massive datasets.

### What Facebook Pages data does Erathos sync to ClickHouse?

The integration automatically syncs the key Facebook Pages objects:

- **Campaigns**: status, budget, schedule, and settings
- **Ad sets**: targeting, bidding, and performance
- **Creatives**: copy, images, and metrics per creative
- **Impressions and clicks**: daily reach and engagement data
- **Conversions**: conversion events and cost per action
- **Spend**: investment by campaign, ad set, and time period

### Why sync Facebook Pages to ClickHouse?

In ClickHouse, you can run OLAP queries on your Facebook Pages data in milliseconds, making it ideal for high-concurrency dashboards and large-scale time-series analysis.

### How it works

Erathos connects to Facebook Pages via official API and syncs your data incrementally: only new or updated records are processed in each run, keeping pipelines fast and ClickHouse costs predictable. You choose the sync frequency (from every 5 minutes to daily), the objects to sync, and the destination dataset. Every run is logged with full observability: runtime, rows processed, contextual errors, and instant alerts via Slack or email if anything goes wrong.

## Data in your data warehouse in minutes

### Facebook Pages connector ready to use

Connect Facebook Pages to ClickHouse and automatically centralize ad performance. Impressions, clicks, conversions, and spend synced by campaign, ad set, and creative.

### Total control over your Facebook Pages pipelines

Configure frequency and insertion mode per table. Data arrives in ClickHouse in a format optimized for OLAP queries — analyze millions of rows in milliseconds.

### End-to-end observability

No more finding out about Facebook Pages failures only after the business team complains. Every run is logged with runtime, rows processed, and error context. Automatic alerts via Slack, Discord, or email the moment anything goes off track — keeping paid media data fresh for your ROAS analysis.

## Centralizing Facebook Pages data in ClickHouse has never been easier.

Erathos is a data ingestion platform for data-driven marketing teams. With the Facebook Pages connector, you can automatically centralize impressions, clicks, conversions, and campaign spend in ClickHouse—while maintaining full observability for every pipeline run and real-time alerts.

## FAQ

### What is Erathos and how can it help my company?

Erathos is a data ingestion platform built for reliability, transparency, and control. We help data teams connect tools like Facebook Pages to their data warehouse—with full observability into every run, zero maintenance, and without the opacity of traditional market tools.

### Which Facebook Pages data does Erathos sync to ClickHouse?

Erathos synchronizes Campaigns, Ad Sets, Creatives, Impressions, Clicks, Conversions, and Spend from Facebook Pages to ClickHouse. Audience data, targeting, and creative-level performance are also available.

### How often does Erathos sync data from Facebook Pages to ClickHouse?

You can configure synchronization frequency from every 5 minutes up to daily, at the table level. Erathos uses incremental sync—only new or updated records are processed in each run, keeping the Facebook Pages pipeline efficient and ClickHouse costs predictable.

### What happens if a Facebook Pages 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 execution is logged with run time, processed rows, and error context so your team can debug in minutes, not hours.

### Is there a free trial period for the Facebook Pages connector?

Yes. Every Erathos connector includes a 14-day free trial. Connect Facebook Pages to ClickHouse and start syncing immediately—no credit card required.
