Prerequisites
1. Dataset
App events sent through the Conversions API must be associated with a dataset. Datasets allow advertisers to connect and manage event data from web, app, store and business messaging event sources to the Conversions API. Datasets may show event data from any of these integrations that you choose to set up:- Meta Pixel (website events)
- App Events API (app events, including Facebook SDK for iOS or Android, mobile measurement partners (MMPs))
- Offline Conversions API (Meta’s legacy API for offline events)
- Messaging Events API (messaging events)
GET call to https://graph.facebook.com/v16.0/{ads-pixel-id}/is_consolidated_container to detect if the advertiser’s dataset is consolidated and thus eligible for passing app events via the Conversions API.
2. Permissions
- To implement a direct integration as an advertiser, please follow the instructions here for prerequisites and permissions.
- To implement a partner platform integration, please follow the instructions here for prerequisites and permissions.
Configuration
Sending App Events to the Conversions API
a. Linking dataset ID and app ID In Events Manager, there are two ways to link your app with a dataset:- Select the “Data Sources” tab, find your app’s “Setting” tab and perform the linking.
- Select the “Data Sources” tab, in the “Overview” tab of your app, use the “Link to dataset” button in the “All Activity” section.

- The parameter
action_sourcemust contain the valueappfor app events. - The
event_idis required for the deduplication setup case. - app_data fields
- user_data fields
- custom_data fields
App Data Fields
Customer Information Parameters
Custom Data
In summary, the app events shared using the Conversions API will require the following data parameters:
action_source: Must be set to ‘app’. (By using the Conversions API, you agree that theaction_sourceparameter is accurate to the best of your knowledge)event_id: Required for the deduplication setup, see details in ‘Set up deduplication for multiple channels’ section.advertiser_tracking_enabledapplication_tracking_enabledextinfo
extinfo. Make sure all the sub parameters below are filled and in sequential order. If anything is missing, use an empty string as a placeholder.
c. Set Up Deduplication for Multiple Channels
The deduplication mechanism will be required to remove duplicate event traffic between the Conversions API integration and all other existing integrations you have with app events including SDK, MMPs and App Events API.
For app events, we apply the same deduplication functionality that exists for web events. The logic leverages the field
event_id and event_name based deduplication (Conversions API and SDK / App Events API events that carry the same event_id). The event_id parameter is an identifier that can uniquely distinguish between similar events. Inaccurate event IDs may cause your conversion to be wrongly deduplicated, further impacting conversion reporting and campaign performance.
You can refer to the following developer documentation to implement the deduplication setup:
Here is an example of how to log a custom event. To do so, pass the name of the event as an AppEvents.Name in iOS SDK:
POST request to Conversions API from this path: https://graph.facebook.com/{API_VERSION}/{DATASET_ID}/events?access_token={TOKEN}. When you post to this edge, Meta creates new app server events. For more details, please refer to the following developer document.
Here is an overview of how the parameters fit into the overall schema in the payload:
Troubleshooting
You can use the Payload Helper tool to generate payload data:- Choose
appaction source when applicable - Fill info for the events that will be sent to Meta
- This will generate event payload, which can be used as a template for your Conversions API integration