Skip to content

Audience Sync to Facebook

Using the Braze Audience Sync to Facebook, you can elect to add your own users’ data from your Braze integration to Facebook custom audiences to deliver advertisements based on behavioral triggers, segmentation, and more.

Any criteria you’d typically use to trigger a message (push, email, SMS, or webhook) in a Braze Canvas based on your user data can now be used to trigger an ad to that user in Facebook using custom audiences. For example, when you configure an Audience Sync to Facebook, you will be able to use a wide variety of first-party fields like email, phone, first name, and last name.

Common use cases for syncing custom audiences include:

  • Targeting high-value users with multiple channels to drive purchases or engagement.
  • Retargeting users who are less responsive to other marketing channels.
  • Creating suppression audiences to prevent users from receiving advertisements when they’re already loyal consumers of your brand.
  • Creating lookalike audiences to acquire new users more efficiently.

This feature allows brands to control what specific first-party data is shared with Facebook. At Braze, the integrations you can and cannot share your first-party data with are given the utmost consideration. For more information, refer to our privacy policy.

User syncing and rate limit considerations

As users reach the Audience Sync step, Braze will sync these users in near real-time while also respecting Facebook’s Marketing API rate limits. What this means in practice is that Braze will try to batch and process as many users every 5 seconds before sending these users to Facebook.

Facebook’s Marketing API rate limit states no more than ~190,000 API requests for each ad account in a one hour time period. If a Braze customer reaches this rate limit, Braze the Canvas will retry the sync for up to ~13 hours. If the sync isn’t possible, these users are listed under the Users Errored metric.

Prerequisites

You’ll need to confirm that you have the following items created and completed before setting up your Facebook Audience step in Canvas.

Integration

Step 1: Connect to Facebook

In the Braze dashboard, go to Partner Integrations > Technology Partners and select Facebook. Under Facebook Audience Export, select Connect Facebook.

Facebook technology page in Braze that includes an Overview section and Facebook Audience Export section with the Connected Facebook button.

A Facebook oAuth dialog window will appear to authorize Braze to create Custom Audiences into your Facebook ad accounts.

The first facebook dialogue box prompting to "Connect as X", where X is your Facebook username. The second Facebook dialogue box prompting for permission to manage ads for your ad accounts.

Once you have linked Braze to your Facebook account, you will then be able to select which ad accounts you would like to sync within your Braze workspace.

A list of available ad accounts you can connect to Facebook.

After you have successfully connected, you’ll be taken back to the partner page, where you can view which accounts are connected and disconnect existing accounts.

An updated version of the Facebook technology partners page showing the ad accounts successfully connected.

Your Facebook connection is applied at the Braze workspace level. If your Facebook admin removes you from your Facebook Business Manager or access to the connected Facebook accounts, Braze will detect an invalid token. As a result, your active Canvases using Facebook Audience components will show errors, and Braze will not be able to sync users.

Step 2: Accept custom audiences terms of service

Before building out your Canvas, you must first accept the Facebook custom audiences terms of service. Your terms of service can be found at the following link: https://business.facebook.com/ads/manage/customaudiences/tos/?act=<your_ad_account_id>

Step 3: Add a Facebook Audience component in Canvas Flow

Add a component in your Canvas and select Facebook Audience.

Step 4: Sync setup

Click on the Custom Audience button to open the component editor.

Select Facebook as the desired Audience Sync partner.

Select the desired Facebook ad account. Under the Choose a New or Existing Audience dropdown, type in the name of a new or existing audience.

  1. Enter a name for the new custom audience.
  2. Select Add Users to Audience, and choose the fields you would like to sync with Facebook.
  3. Next, select Create Audience to save your audience.

You’ll be notified at the top of the step editor if the audience is created successfully or if an error occurs during this process. You can also reference this audience for user removal later in the Canvas journey because the audience was created in draft mode.

When you launch a Canvas with a new audience, Braze will create the new custom audience upon launching the Canvas and subsequently sync users in near real-time as they enter the Audience Sync step.

Braze offers the ability to either add or remove users from existing Facebook custom audiences to confirm that these audiences are up-to-date. To sync with an existing audience, do the following:

  1. Type the existing audience name in the dropdown.
  2. Choose whether you want to Add to the Audience or Remove from the Audience.
  3. Braze will either add or remove users in near real-time as they enter the Facebook Audience step.

Step 5: Launch Canvas

After configuring your Facebook Audience component, it’s time to launch the Canvas! The new custom audience will be created, and users who flow through the Facebook Audience step will be passed into this custom audience on Facebook. If your Canvas contains subsequent steps, your users will then advance to the next step in their user journey.

The History tab of the custom audience in the Facebook Audience Manager will reflect the number of users sent to the audience from Braze. If a user re-enters the step, they will be sent to Facebook again.

Audience details and the History tab for a given Facebook audience that includes an Audience History table with columns for the activity, activity details, items changed, and the date and time.

Understanding analytics

The following table includes metrics and descriptions to help you better understand analytics from your Audience Sync component.

Frequently asked questions

How long does it take for my audiences to populate in my Audience Sync partner dashboard?

The time it takes to populate an audience depends on the specific partner. All networks will process the requests from Braze and attempt to match users. It can take up to 24 hours for custom audiences to be updated.

What should I do next if I receive an invalid token error?

You can simply disconnect and reconnect your Facebook account on the Facebook partner page. Confirm with your Facebook Business Manager admin that you have the appropriate permissions to the ad account you wish to sync with.

Why is my Canvas not allowed to launch?

  • Make sure your system user token is authenticated and has access to the desired ad accounts in Facebook Business Manager.
  • Make sure you have selected an ad account, entered a name for the new custom audience, and selected fields to match.
  • You may have reached the 500 custom audience limit on Facebook. Go to the Facebook Audience Manager to delete some unneeded ones before creating any new custom audiences using Canvas.

How do I know if users have matched after passing users to Facebook?

Facebook doesn’t provide this information for privacy reasons.

Does Braze support value-based custom audiences?

At this time, value-based custom audiences aren’t supported by Braze. If you’re interested in syncing these types of custom audiences, submit product feedback.

Does Braze hash data before sending it to Audience Sync partners?

Once email data is normalized, Braze hashes with SHA256.

IDFA/AAID/phone: Braze hashes with SHA256. The audience types we sync to are always one of the following:

  • IDFA_SHA256
  • AAID_SHA256
  • EMAIL_SHA256
  • PHONE_SHA256.

In terms of frequency, Braze will only hash user personally identifiable information (PII) as users enter into the Audience Sync step in the user journey in preparation for the sync.

How do I resolve an issue with syncing a value-based lookalike custom audience?

At this time, value-based lookalike custom audiences are not supposed by Braze. If you attempt to sync to this audience, this can cause errors for your Audience Sync step. To resolve this, follow these steps:

  1. Go to your Facebook Ad Manager dashboard and select Audiences.
  2. Select Create audience > Custom audience.
  3. Select Customer list.
  4. Upload your CSV or list without the Value column. Select No, continue with a customer list that doesn’t include customer value.
  5. Finish creating your custom audience.
  6. In Braze, update the Facebook Audience Sync step with the custom audience you created.

To use Audience Sync to Facebook, you need to accept these terms of service agreement.

  • If your ad account is directly associated with your personal Facebook account, you can accept the terms of service from in your personal account here: https://www.facebook.com/ads/manage/customaudiences/tos.php?act=ACCOUNT_ID.
  • If your ad account is tied to your company’s Business Manager account, you need to accept the terms of service in your Facebook Business Manager account here: https://business.facebook.com/customaudiences/value_based/tos.php?act=ACCOUNT_ID&business_id=BUSINESS_ID.

After you have accepted your Facebook custom audience terms of service, do the following:

  1. Refresh your Facebook access token with Braze by disconnecting and reconnecting your Facebook account.
  2. Re-enable your Facebook Audience Sync step by editing and updating your Canvas.

Then, Braze can sync users as soon as they reach the Facebook Audience Sync step.

Troubleshooting

Error Description Steps to resolve
Invalid Token Typical causes are if the user that connected the integration changes their password, credentials expire, and more. Go to Partner Integrations > Facebook and disconnect and reconnect your account. Refer to this troubleshooting section this troubleshooting section for additional steps to audit your Facebook account.
Audience Size Too Low This error can occur if you created an Audience Sync step that removes users from your audiences. If your audience size gets close to zero, the network can flag that the audience size is too low to serve. Use an Audience Sync strategy that regularly adds and removes users where it doesn’t fully deplete the audience size.
Audience Does Not Exist The Audience Sync step uses an audience that does not exist or was deleted. This can also be triggered if you don’t have the necessary permission to access the audience anymore. Have an admin check on the partner platform for whether the audience still exists.

If it exists, confirm whether the user that connected the integration has permission to the audience. If they do not, the user will need to be granted access to that audience.

If the audience was intentionally removed, add an active audience create a new audience on the step.
Ad Account Access Attempt You don’t have permissions for the ad account or audience that you selected. Work with the administrators of your ad account to get proper access and permissions.
Terms of Service Not Accepted For some Audience Sync destinations, like Facebook, it's required by the ad network to accept specific terms of services to use the Audience Sync feature. This error will trigger if you haven't accepted the appropriate terms. As a result, you may have also received an email with this subject from Braze: “Your authorization credentials for Facebook are invalid.” Check that you accepted Facebook's required terms.
All Users Are Erroring Out If all users are erroring on a step despite confirming that these users have values for the selected fields on the step, this could indicate an issue with your Facebook account. Follow the steps in this troubleshooting section to check your account for any issues.
Failed to create audience On the Facebook Technology Partner page, you are seeing “Connected”, but there’s an error on the Facebook Audience Sync step when syncing an audience, “Failed to create audience "audience name". Authorization of your facebook account failed. Please visit the Technology Partners page to reconnect your account. Follow the steps in this troubleshooting section to check your account for any issues.

Audit your Facebook account

If you experience additional issues with your integration, refer to the following sections and steps to audit your Facebook account.

Review account permissions

  1. Review Facebook’s documentation on how to manage these permissions in their platform. For Facebook Business Manager, you need at least either an Admin or Employee Business Manager role with access to the necessary ad accounts.
  2. As an Employee, confirm that the Admin grants you full Manage Ad Account permissions for each ad account to create an audience or sync users to the audience.
  3. After that has been granted, you must disconnect and reconnect your account.

Accept the terms of service

Accept any pending Terms of Services from Facebook. Facebook periodically will require you (the user) and the business manager to re-approve their terms of services.

  1. The connected user needs to accept all terms of services for each of their ads account:
    • User TOS for your personal Facebook account: https://www.facebook.com/ads/manage/customaudiences/tos.php?act=ACCOUNT_ID.
    • If your ad account is tied to your company’s Business Manager account, you need to accept the TOS from within your business manager account here for all ad accounts: https://business.facebook.com/customaudiences/value_based/tos.php?act=ACCOUNT_ID&business_id=BUSINESS_ID.

An account with full control permissions to manage an ad account.

To find your account and business ID, follow these steps:

  1. Go to your Facebook Ads Manager account.
  2. Confirm you’re using the right ad account by verifying it in the dropdown menu.
  3. In the URL, find the account ID after act= and the business ID after business_id=

The URL with the account ID and business ID highlighted.

  1. Read and select Accept for the Custom Audience Terms. We recommend confirming which account the terms of services are being signed for by using the dropdown at the top of the terms.

The dropdown that shows the account that is signing the terms of service.

  1. You must select Accept for the terms of services. After, you’ll see this message: “You have accepted these terms of service on behalf of Braze”.
  2. Refresh your Facebook access token with Braze by disconnecting and reconnecting your Facebook account.
  3. Re-enable your Facebook Audience Sync step by editing and updating your Canvas. Braze will then be able to sync users as soon as they reach the Facebook audience step.
  4. If the issue persists, try using a separate user with admin permissions to manually accept the terms through the Ads Manager.

Complete any pending tasks

Check if you have any pending tasks in Facebook that could be blocking you from using Facebook Ads services:

  1. Log into Facebook Ads Manager.
  2. Select the ad account you are having issues with.
  3. In the navigation, select your Account Overview.
    The navigation with Account Overview selected.
  4. Check if there are any alerts that need to be addressed.
    An account with an expired credit card.
  1. Check if there are any setup tasks that need to be completed.
    An account with partially completed account setup.

Connect with a different user

As another troubleshooting step, we recommend that a different admin user try to connect their account by doing the following:

  1. Disconnect the current integration.
  2. A separate user with admin permissions connects their Facebook user account.
HOW HELPFUL WAS THIS PAGE?
New Stuff!