---
title: Meta Ads connector
description: Overview of the Meta Ads connector for managed ingestion pipelines.
canonical_url: https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads
---

# Meta Ads connector

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Lakeflow Connect for Meta Ads** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/gcp/en/admin/workspace-settings/manage-previews.md).

The managed Meta Ads connector in Lakeflow Connect allows you to ingest advertising data from Meta Ads into Databricks.

## Feature availability

| Feature                                             | Availability                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| UI-based pipeline authoring                         | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                                                                                                                                                                                                                                                                       |
| API-based pipeline authoring                        | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Supported                                                                                                                                                                                                                                                                                                                                                                               |
| Declarative Automation Bundles                      | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Supported                                                                                                                                                                                                                                                                                                                                                                               |
| Incremental ingestion                               | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Partially supported<br />Report tables (`ad_insights`, prebuilt reports, and `custom_report`) support incremental ingestion. Resource tables are fully refreshed on each update.                                                                                                                                                                                                        |
| Unity Catalog governance                            | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Supported                                                                                                                                                                                                                                                                                                                                                                               |
| Lakeflow Jobs                                       | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Supported                                                                                                                                                                                                                                                                                                                                                                               |
| SCD type 2                                          | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Partially supported<br />Supported for the `ads`, `ad_sets`, and `campaigns` tables using `updated_time` as the cursor column. Not supported for the other tables: `ad_insights` is an aggregated metric whose values Meta continuously refines within the attribution lookback window, `ad_images` is immutable in the source, and the remaining tables are fetched as full snapshots. |
| Column selection and deselection                    | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Supported<br />You can select specific tables.                                                                                                                                                                                                                                                                                                                                          |
| API-based row filtering                             | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                                                                                                                                                                                                                                                                       |
| Automated schema evolution: New and deleted columns | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                                                                                                                                                                                                                                                                       |
| Automated schema evolution: Data type changes       | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                                                                                                                                                                                                                                                                       |
| Automated schema evolution: Column renames          | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported                                                                                                                                                                                                                                                                                                                                                                                       |
| Automated schema evolution: New tables              | N/A                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Maximum number of tables per pipeline               | 250                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

## Authentication methods

| Authentication method                           | Availability                                                                                              |
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| OAuth U2M                                       | ![Green check icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/check-green.svg) Supported |
| OAuth M2M                                       | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported         |
| OAuth (manual refresh token)                    | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported         |
| Basic authentication (username/password)        | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported         |
| Basic authentication (API key)                  | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported         |
| Basic authentication (service account JSON key) | ![Red X icon](https://docs.databricks.com/gcp/en/images/lakeflow-connect/x-red.svg) Not supported         |

## What to know before you start

| Topic                                                                                                                     | Why it matters                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Databricks user persona](https://docs.databricks.com/gcp/en/connect/managed-ingestion.md)                                | The workflow depends on your Databricks user persona:<br /><ul><li>Single-user: An admin user creates a Unity Catalog connection and an ingestion pipeline.</li><li>Multi-user: An admin user creates a connection for non-admin users to create pipelines with.</li></ul>                                   |
| [Authentication method](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads.md#authentication-methods) | The steps to create a connection depend on the authentication method you choose.                                                                                                                                                                                                                             |
| [Interface](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/faq.md)                                         | The steps to create a pipeline depend on the interface.                                                                                                                                                                                                                                                      |
| [Ingestion frequency](https://docs.databricks.com/gcp/en/ldp/concepts/pipeline-mode.md)                                   | The pipeline schedule depends on your latency and cost requirements.                                                                                                                                                                                                                                         |
| [Common patterns](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/common-patterns.md)                       | Depending on your ingestion needs, the pipeline might use configurations like history tracking, column selection, and row filtering. Supported configurations vary by connector. See [Feature availability](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads.md#feature-availability). |

## Start ingesting from Meta Ads

The following table provides an overview of the end-to-end Meta Ads ingestion flow, based on user type:

| User      | Steps                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Admin     | <ul><li>Configure Meta Ads to enable authentication from Databricks. See [Set up Meta Ads as a data source](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-source-setup.md).</li><li>Use Catalog Explorer to create a connection to Meta Ads so that non-admins can create pipelines. See [Create a Meta Ads connection](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-connection.md).</li></ul> |
| Non-admin | Use any supported interface to create a pipeline from an existing connection. See [Ingest data from Meta Ads](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/meta-ads-pipeline.md).                                                                                                                                                                                                                                                |
