Supermetrics for Databricks
Connect Facebook Ads to Databricks — Lakehouse-Powered Ad Intelligence


Load your complete Facebook Ads history into Databricks as Delta tables. Query with SQL or PySpark, version every change with Delta Lake time travel, build ML models on ad performance data, and govern everything through Unity Catalog — all without writing a single line of ETL code.
Why Connect Facebook Ads to Databricks?
Ads Manager was built for campaign management, not data science. Move your Facebook Ads data into Databricks and unlock Delta Lake versioning, Spark-powered transformations, ML-ready feature tables, and unified governance through Unity Catalog.
Delta Lake versioning and time travel
Every write to your Facebook Ads Delta table is versioned automatically. Roll back changes, audit data mutations, and query historical snapshots at any point in the transaction log.
Learn more
Delta Lake versioning and time travel
Every write to your Facebook Ads Delta table is versioned automatically. Roll back changes, audit data mutations, and query historical snapshots at any point in the transaction log.
SQL and PySpark — use both
Databricks supports standard SQL for dashboards and ad-hoc queries, plus PySpark and pandas DataFrames for advanced transformations, statistical analysis, and ML pipelines — all on the same data.
Learn more
SQL and PySpark — use both
Databricks supports standard SQL for dashboards and ad-hoc queries, plus PySpark and pandas DataFrames for advanced transformations, statistical analysis, and ML pipelines — all on the same data.
ML-ready feature tables
Transform Facebook Ads data into feature tables for ML models — predict creative fatigue, forecast spend, or classify high-performing audiences — all within the Databricks ecosystem.
Learn more
ML-ready feature tables
Transform Facebook Ads data into feature tables for ML models — predict creative fatigue, forecast spend, or classify high-performing audiences — all within the Databricks ecosystem.
Unity Catalog for enterprise governance
Manage access to Facebook Ads data with fine-grained permissions, column masking, row filters, and data lineage — all through Unity Catalog across every workspace in your organization.
Learn more
Unity Catalog for enterprise governance
Manage access to Facebook Ads data with fine-grained permissions, column masking, row filters, and data lineage — all through Unity Catalog across every workspace in your organization.
Photon engine for blazing-fast SQL
Databricks Photon is a vectorized query engine written in C++ that accelerates SQL queries on Delta tables by 2-8x compared to standard Spark SQL — making heavy Facebook Ads aggregations near-instant.
Learn more
Photon engine for blazing-fast SQL
Databricks Photon is a vectorized query engine written in C++ that accelerates SQL queries on Delta tables by 2-8x compared to standard Spark SQL — making heavy Facebook Ads aggregations near-instant.
Automated ingestion with zero maintenance
Supermetrics handles Delta table creation, MERGE operations, schema evolution, and partition management automatically. No custom notebooks, no Airflow DAGs, no manual OPTIMIZE runs.
Learn more
Automated ingestion with zero maintenance
Supermetrics handles Delta table creation, MERGE operations, schema evolution, and partition management automatically. No custom notebooks, no Airflow DAGs, no manual OPTIMIZE runs.
How to Connect Facebook Ads to Databricks
Three steps. Under two minutes. Zero code.
- 1
Create a data transfer
Log into Supermetrics, select your data source and Databricks as your destination.
- 2
Authorize and configure
Connect your data source account, provide your Databricks workspace URL and access token, choose your catalog and schema, and select the data you want to transfer.
- 3
Set schedule and start transfer
Choose your refresh frequency (hourly, daily, or weekly) and click Start. Your data begins flowing into Databricks Delta tables automatically.
Facebook Ads Data Schema in Databricks
Supermetrics creates and maintains clean, typed tables automatically. Here's what your Facebook Ads data looks like in Databricks.
Data Freshness & Scheduling
Facebook Ads data is typically available in Databricks within 3-6 hours of the reporting period end. Schedule daily transfers to have yesterday's complete data ready each morning. Supermetrics uses Delta Lake MERGE for efficient incremental loading. Historical backfill is available for up to 37 months.
What Facebook Ads Data Can You Pull into Databricks?
Supermetrics gives Databricks access to your full Facebook Ads reporting data — metrics and dimensions you already know from the Facebook Ads interface.
Key Metrics
- Impressions
- Clicks
- Spend
- ROAS
- CPA
- CTR
- CPM
- Conversions
- Reach
- Frequency
- Video views
- Link clicks
- Cost per result
- Purchase value
- Add to cart
Key Dimensions
- Campaign name
- Ad set name
- Ad name
- Age
- Gender
- Placement
- Device
- Country
- Region
- Platform
- Objective
- Delivery status
- Creative ID
Resources & Guides
Why Supermetrics for Databricks?
Purpose-built for marketing data since 2009. 200,000+ companies trust Supermetrics to move 15% of global ad spend into reporting and analytics destinations.
No Vendor Lock-In
Your data lands in Databricks — infrastructure you own and control. Use any BI tool, any transformation layer, any ML platform. If you ever switch providers, your data and dashboards stay with you.
170+ Marketing Data Sources
Purpose-built for marketing data — not a generic ETL tool. Supermetrics covers 99% of metrics and dimensions from each source, with pre-structured tables ready for analysis. No transformation layer required.
Managed Schema
Supermetrics creates and maintains your Facebook Ads tables automatically. Schema changes from the source API are handled for you — no broken pipelines, no manual migrations.
Your Data, Your Infrastructure
Supermetrics moves data directly to your destination — nothing is stored on our servers. SOC 2 Type II certified, GDPR and CCPA compliant. Your data stays in infrastructure you control, simplifying privacy and compliance reviews.
Flat-Rate, Predictable Pricing
Fixed annual pricing regardless of data volume — no per-row charges, no surprise bills during peak campaign seasons. Transfer as much Facebook Ads data as you need without worrying about cost spikes.
No Data Limits
Query any date range, any number of campaigns, any level of granularity. No row limits, no sampling, no restrictions on the data you can pull.
Frequently Asked Questions
How do I connect Facebook Ads to Databricks with Supermetrics?
Log into the Supermetrics Hub, create a new data transfer, select Facebook Ads as the source and Databricks as the destination. Authorize your Facebook Ads account, provide your Databricks workspace URL and access token, choose your catalog, schema, and Unity Catalog settings, select the fields you need, set a schedule, and start the transfer. No custom notebooks, Spark jobs, or Delta Lake plumbing required — Supermetrics writes directly to Delta tables and registers them in Unity Catalog so your data is governed, versioned, and queryable with both SQL and PySpark from the moment it lands.
Is my Facebook Ads data secure when transferring to Databricks?
Supermetrics is SOC 2 Type II certified and fully GDPR compliant. All Facebook Ads credentials are encrypted at rest and in transit. Data flows directly from the Facebook Ads API into your Databricks workspace — Supermetrics never stores your marketing data on its own servers. Unity Catalog provides centralized governance: fine-grained row-level and column-level security, attribute-based access control, and a full audit log of who queried what. Delta Lake's transaction log makes every write atomic and traceable, so you always have a verifiable lineage of your Facebook Ads data from ingestion to insight.
Can I combine Facebook Ads data with other sources in Databricks?
That is one of the defining advantages of the Databricks lakehouse architecture. Once Facebook Ads data lands as a Delta table, you can JOIN it with any other table in your lakehouse — raw event streams, CRM exports, product analytics, even ML Feature Store tables used for model training. Query in SQL from Databricks SQL warehouses or switch to PySpark and pandas for data science workflows — same data, no copying. Supermetrics supports 170+ connectors that all land in the same Unity Catalog namespace, and the Photon engine accelerates analytical queries on those Delta tables automatically.
What Facebook Ads metrics and dimensions are available in Databricks?
All standard Facebook Ads reporting fields are available, including Impressions, Clicks, Spend, ROAS, CPA, CTR, and many more. You select exactly which metrics and dimensions to transfer during setup, and you can add or remove fields at any time without losing historical data already stored in your Delta tables. Delta Lake's time travel lets you query any previous version of your Facebook Ads data — useful for auditing retroactive metric recalculations or reproducing a dashboard state from last quarter. Schema evolution is handled automatically, so new fields appear as columns without breaking existing queries.
How fresh is Facebook Ads data in Databricks?
Data freshness depends on your transfer schedule. Supermetrics supports hourly, daily, or weekly transfers into Databricks. Most teams schedule daily transfers so yesterday's complete data is available each morning. Delta Lake's MERGE capability ensures only new and changed records are upserted, keeping cluster utilization and storage costs low. For teams that need near-real-time visibility, the Photon engine accelerates incremental queries so dashboards refresh in seconds, and you can set up Databricks SQL alerts to trigger notifications when key Facebook Ads metrics cross your thresholds.
What Delta Lake column types does the Facebook Ads connector use?
Supermetrics maps Facebook Ads fields to Delta Lake (Spark SQL) native types. Dates become DATE, text fields like campaign_name are stored as STRING, monetary metrics like spend use DOUBLE for floating-point precision, and count metrics like impressions use LONG (BIGINT). The mapping is automatic — select your fields and Supermetrics creates the Delta table with correct schema.
Can I use Delta Lake time travel with my Facebook Ads data?
Yes. Every load from Supermetrics creates a new Delta version. You can query any historical version using VERSION AS OF or TIMESTAMP AS OF syntax. This is especially useful when Meta reprocesses attribution data — compare VERSION AS OF 10 with the current version to see exactly which campaign numbers changed and by how much.
Can I build ML models on my Facebook Ads data in Databricks?
Absolutely. Your Facebook Ads Delta table is directly accessible from Databricks notebooks using PySpark, pandas, or SQL. A common workflow is computing rolling features (7-day CPA trend, frequency growth rate, CTR decay) in a Spark DataFrame, registering them in the Databricks Feature Store, and training a model with MLflow to predict creative fatigue or forecast daily spend.
How does Unity Catalog secure my Facebook Ads data?
Unity Catalog provides centralized governance across all Databricks workspaces. You can grant SELECT on your facebook_ads table to specific groups, apply column masks to hide spend data from certain roles, and set row-level filters so each business unit sees only their campaigns. All access is audited, and data lineage shows which downstream notebooks and dashboards consume the table.
How much does it cost to store and query Facebook Ads data in Databricks?
Databricks pricing has two components: compute (DBU-hours for clusters or SQL Warehouses) and storage (the underlying cloud storage — S3, ADLS, or GCS — typically $0.02-0.03/GB/month). Facebook Ads datasets are small, usually under 10 GB even with years of history. Compute is the main cost driver — a Databricks SQL Warehouse (2X-Small) running daily queries typically costs $20-50/month depending on usage patterns.
Does the Facebook Ads connector include Instagram Ads data in Databricks?
Yes. The Facebook Ads API covers all Meta ad placements including Instagram Feed, Stories, Reels, and Explore. Data lands in the same Delta table with a placement column. Filter with WHERE placement LIKE '%instagram%' for Instagram-specific analysis, or query unfiltered for a consolidated Meta Ads view. You can also partition by placement if you frequently filter on it.
Ready to Connect Facebook Ads to Databricks?
Join 200,000+ companies that use Supermetrics to connect their marketing data. Set up in under two minutes.