Meta Ads

Overview

The Meta Ads connector allows you to integrate Meta’s advertising capabilities into Bird. With this connector, send segments to create Meta audiences, sync leads from Meta, fetch ad campaigns, and send ad events directly from Bird.

Key Features

  • Sync Bird Segments to Meta as Custom Audiences: Create, update, and sync custom audiences.

  • Sync Meta Leads as Bird Contacts: Retrieve leads generated from ads.

  • Workflow Actions available in Flows:

    • Get Audience: Retrieve all audiences linked to the account.

    • Fetch Me: Retrieve information about the authenticated user.

    • Fetch Ad Accounts

    • Fetch Form Leads

    • Fetch Campaigns: Retrieve a list of ad campaigns.

    • Fetch Adsets: Retrieve adsets for a campaign.

    • Fetch Ads: Retrieve ads under an adset.

    • Fetch Leads: Retrieve leads generated by an ad.

    • Populate Info: Populate information about an ad campaign.

    • Send Ad Events: Notify Meta of other events via the Conversions API.

    • List Custom Audiences: List all custom audiences for the Ad Account.

    • Add to Custom Audience: Add contacts to a custom audience.

    • Remove from Custom Audience: Remove contacts from a custom audience.

    • Create Custom Audience: Create a new custom audience.


Installation

To install the Meta Ads connector, follow these steps:

  • Navigate to Integrations: Go to Settings > Connectivity > Integrations section within Bird.

  • Select Meta Ads: Search and select "Meta Ads" from the Marketplace

  • Click Install: Begin the installation process.

  • Select a Use case: You can select a use case whether you want to sync contacts vs send conversion events

  • Log in to Facebook: Authenticate your Facebook account. Ensure you have admin permissions for your Facebook Marketing account.

  • Grant Permissions: Approve the required permissions for Bird to access your Meta Ads account.

  • Complete Setup: After authorising, the Meta Ads connector will be available for use in Bird workflows.

Sync Bird Segment to Meta Custom Audience

Once the integration is installed, navigate to the Config tab.

  • You will see the following data flow created: Replace a Meta Ads Audience with a Bird Segment

  • Click on View Data Flow

  • Navigate to the Configuration tab within the data flow

  • Under Source section

    • Turn on Fetch All on First Run if you want to sync existing contacts in the segment as well and not the new contacts which would be added

    • You can keep Source Attributes empty to allow the default configuration of attribute mapping

    • Select your Source Segment you want to sync and click on Save Configuration

  • Under Destination section

    • Select the Meta Ad Account to which you want to sync the custom audience

    • Select the Meta Audience to which you want to sync. You can also create a new one.

    • Click on Save Configuration

  • Once done, turn the toggle ON to Enable the data flow to start the sync.

To sync more segments to Meta Audience, you can go to Settings > AI & Automation > Data Flows

  • Clone the original data flow for Replace Meta Ads with Bird Segment from 3 dots > Clone

  • Update the segment under Source

  • Update the Meta Audience under Destination

  • Click on Save Configuration

  • Enable the data flow

Sync Meta Leads to Bird Contacts

Once the integration is installed, navigate to the Config tab.

  • You will see the following data flow created: Sync Meta Ads Form Leads to Bird Workspace Contacts

  • Click on View Data Flow

  • Navigate to the Configuration tab within the data flow

  • Under Source section

    • Enter the Form ID for the Meta Ads Lead Form

    • Click on Save Configuration

  • Under Destination section

    • Select the list to which you want to sync the contacts into

    • You can Enable Automations if you want to trigger journeys based on Added to List or Contact Updated triggers

  • You can also select to subscribe contacts to different channels

  • Click on Save Configuration

Once done, turn the toggle ON to Enable the data flow to start the sync.

Sending Ad Events

Overview

The "Send Ad Event" action allows you to notify Meta of messaging-related conversion events, such as leads or sales generated via WhatsApp, Messenger or Instagram. These events are sent using the Conversions API and can be configured within a Bird flow.

Supported Event Types

The Conversions API for business messaging events supports the following events:

  • Purchase

  • LeadSubmitted

  • InitiateCheckout

  • AddToCart

  • ViewContent

  • OrderCreated

  • OrderShipped

Refer to Meta’s Conversions API Business Messaging Documentation for detailed event parameter requirements.

Using the Send Ad event action

  1. Add the "Send Ad Event" Action

    • Drag and drop the "Send Ad Event" step into your Bird flow.

  2. Enter the Dataset ID

    • Input the dataset ID provided by Meta to identify the data source for the events.

  3. Select the Event Name

    • Choose the appropriate event name from the dropdown (e.g., Lead, Message Sent, etc.).

  4. Set the Channel Slug

    • Specify the channel where the event occurred (e.g., WhatsApp, Messenger, Instagram).

  5. Add User Data

    • Include the necessary user data fields as an object.

      • For Messenger add:

        • page_id: ID of the page where the event occurred.

        • page_scoped_user_id: User ID scoped to the page.

      • For WhatsApp add:

        • whatsapp_business_account_id: ID of the WhatsApp Business Account.

        • ctwa_clid: Click-to-WhatsApp tracking ID.

      • For Instagram add:

        • instagram_business_account_id: ID of the Instagram Business Account.

        • ig_sid: Instagram session ID.

  6. Add Custom Data (Optional)

    • Provide additional event-specific data as key-value pairs, such as:

      • currency: Currency used for the transaction.

      • value: Transaction value.

  7. Save and Test

    • Save the configuration and run a test to ensure the event is correctly sent to Meta.

Example Configuration

Here’s an example of how to configure the "Send Ad Event" action:

  • Dataset ID: 12333

  • Event Name: Purchase

  • Channel Slug: WhatsApp

  • User Data:

    • whatsapp_business_account_id: <WHATSAPP_BUSINESS_ACCOUNT_ID>

    • ctwa_clid: ARAkLka8rmFleiCkTEJQ-QTWrRiyYHAFDLMNDBH0CD3apjd0HR4irJ6LEkR7JwFF4XvnO2E4

  • Custom Data:

    • currency: USD

    • value: 123

When executed, this data is securely sent to Meta, allowing for efficient tracking of messaging-related conversions.

For more information, visit Meta’s Conversions API Documentation.

Last updated

Was this helpful?