ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Facebook Custom Audience Destination - Upsert

When implementing Facebook Custom Audience Destination, one might want to either to create a new audience with each export, or to upsert (update or insert) customers to a specific audience.

A way on how to deliver this functionality is as follows:

  1. Create Facebook Destination (if not exists) in CDP (create a task in #help_product).

  2. Create Workspace in MI with CDP Destination Connector pointing to the Facebook Destination (you get the ID from Administration).

  3. Set up Facebook Destination in CDP to point to the newly created Workspace in MI (dropdown in Setup > Destinations)

  4. For Facebook Destination Destination in CDP create 2 parameters - fb_audience_name (required, user input) and fb_audience_id (user_input).

  5. In Facebook Loader in MI Workspace for the destination use the Workspace Variable fb_audience_name for Name and fb_audience_id for Audience ID.

Explanation of behavior

When you run a destination export from CDP 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.