Databricks to Meta
Build Meta Custom Audiences from Databricks customer tables through Amperity, using Unity Catalog OpenSharing inbound, identity resolution and audience selection in Amperity, and the Facebook Marketing API outbound to Meta Ads Manager.
Meta Ads Manager docsDatabricks Bridge docsHow to send Databricks data to Meta
Share curated Databricks tables. Configure a Unity Catalog share and open-sharing recipient for the inbound Amperity Bridge.
Choose the customer audience. Resolve identity in Amperity and use available transaction, return and customer records to define eligibility.
Update the Meta audience. Send mapped customer identifiers through the Meta Ads Manager destination, then review the audience before configuring advertising.

Prepare Meta audiences from curated Databricks tables
Build purchaser Custom Audiences using available net-purchase history.
Create service-area Custom Audiences from available customer locations.
Refresh named Custom Audiences as selection criteria change.
Prepare customer exclusion audiences for Meta ad-set configuration.
What the Databricks to Meta connection supports
Audience or field | Mapping and behavior | Documentation |
|---|---|---|
Named audience | Set account ID and a unique audience name; Amperity creates the audience if absent. | |
Customer identity | Map amperity_id to EXTERN_ID; complete the required mapping for your query or campaign path. | |
Contact keys | EMAIL and PHONE are examples, not the full required mapping; follow the selected path’s field and hashing rules. | |
Membership | Replace Users replaces the existing membership with the sent customer list. | |
Source declaration | Select user-provided, partner-provided, or both as the customer file source. |
Use curated customer records to qualify Meta audiences
Distinguish purchases from returned orders
When transaction and return records are available in Amperity, define the purchaser audience around the relationship your team wants to recognize. Send the resulting identifiers to Meta so follow-up targeting can use that selection rather than treating every recorded order as a retained purchase.
Prepare audiences for a service area
Use available customer location records to select people associated with a defined service area. Deliver a named Custom Audience to Meta, where the media team reviews the matched audience and separately configures placement, location targeting and campaign settings.
Set up the Databricks to Meta workflow
Enable OpenSharing on the Unity Catalog metastore, configure the share and recipient, and securely provide the credential file for Amperity Bridge. Verify table permissions and any Azure storage firewall requirements. Follow the Databricks Bridge setup.
Authorize Meta through OAuth, accept its Custom Audience terms, and set account ID, audience name and customer file source. Confirm data-use permissions, the complete required mapping and a sandbox sample before production; replacement affects existing membership. Follow the Meta Ads Manager setup.
Databricks to Meta integration FAQs
What is Databricks?
What is Meta Ads Manager?
How do I send Databricks customer data to Facebook audiences?
Which customer identifiers can I send to Meta?
How does Meta process audience updates?
Put customer context to work in Meta
Explore how customer purchase and location context can inform your next Meta audience.
Get a demo