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

Facebook Custom Audience destination - upsert

When implementing Facebook Custom Audience Destination,destination, one might want to eithereither:

to
  • create a new audience with each export,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 Destinationdestination (if does not exists)exist) in CDPMeiro Business Explorer (create a task in #help_product).

  2. Create Workspacea workspace in MIMeiro Integrations with CDPMeiro DestinationBusiness ConnectorExplorer (CDP) as destination connector pointing to the Facebook Destinationdestination (you get the ID from Administration)administration).

  3. Set up Facebook Destinationdestination in CDP to point to the newly created Workspaceworkspace in MIMeiro Integrations (dropdown in Setup > Destinations)

  4. For a Facebook Destination Destinationdestination in CDPMeiro createBusiness Explorer define 2 parametersparameters:

    -
  • fb_audience_name (required, user input)
  • and
  • fb_audience_id (user_input).

  1. In Facebook Loaderloader in MIMeiro WorkspaceIntegration for the destinationworkspace use theworkspace Workspacevariables:

    Variable
  • fb_audience_name for Name
  • and
  • fb_audience_id for Audience ID.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 CDPMeiro 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.