Facebook Custom Audience destination - upsert
When implementing Facebook Custom Audience destination, one might want to either:
- create a new audience with each export
- or upsert (update or insert) customers to a specific audience.
-
Create Facebook destination (if does not exist) in Meiro Business Explorer (create a task in #help_product).
-
Create a workspace in Meiro Integrations with Meiro Business Explorer (CDP) as destination connector pointing to the Facebook destination (you get the ID from administration).
-
Set up Facebook destination in CDP to point to the newly created workspace in Meiro Integrations (dropdown in Setup > Destinations)
-
For a Facebook destination in Meiro Business Explorer define 2 parameters:
- fb_audience_name (required, user input)
- fb_audience_id (user_input)
-
In Facebook loader in Meiro Integration workspace use workspace variables:
- fb_audience_name for Name
- fb_audience_id for Audience ID
Learn more: How to create Parameter for destinations in Meiro Business Explorer learn from this tutorial.
Explanation of behavior
When you run a destination export from Meiro Business Explorer where the fb_audience_id parameter is empty, the FB loader would take the name, create a new audience and fill it with segment customers.
However, when the fb_audience_id is present and it is a valid Audience ID from Facebook (you can get that ID from URL in Facebook Business Manager), it would upload the customers to this audience instead of creating a new one.