Before you begin
Facebook is a key traffic source for many of the mobile app owners, so with Affise MMP, you can set up Facebook integration and track your campaigns.
Meta ADS
Go to Integrations > Applications > a certain application > Meta ADS.
Click Connect to start setting up the integration.
General settings
In the My application field, add the name of your app.
The Send organic toggle allows sending organic traffic.
The Send Google Ads toggle allows sending Meta traffic to Google Ads for optimization.
In the Referrer decryption key for Play market field, add your decryption key.
Meta Dataset
In the Facebook Dataset ID field, add the ID of your dataset.
In the Facebook Dataset Access Token field, add your token ID.
🔎 Read how to get access token here.
To validate your credentials and make sure the integration is correct, insert the event code into the Test event code field and click Validate Dataset.
Events mapping
Click Add event to add a field for events mapping.
Select an Affise MMP event and map it to the Meta event accordingly.Affise MMP - Meta events
To be displayed in statistics for events:
Purchase
Sales
TravelBooking
InitialSubscription
it's recommended to add the following parameters:
PredefinedFloat.REVENUE
PredefinedString.CURRENCY
for example:
PurchaseEvent(userData = "apple").apply {addPredefinedParameter(PredefinedString.ORDER_ID, "23123")addPredefinedParameter(PredefinedString.CURRENCY, "USD")addPredefinedParameter(PredefinedFloat.REVENUE, 2.19f)}Parameters to send events to Facebook
Meta event | Meta object properties | Affise Event Name | Affise MMP SDK Parameters |
AddPaymentInfo | content_category content_ids contents currency value |
| PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE |
AddToCart | content_ids content_name content_type contents currency value
|
| PredefinedListString.CONTENT_IDS PredefinedString.CONTENT_ID PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE |
AddToWishlist | content_name content_category content_ids contents currency value
|
| PredefinedString.CONTENT_ID PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE |
CompleteRegistration | content_name currency status value
|
| PredefinedString.CONTENT_ID PredefinedString.CURRENCY PredefinedString.STATUS PredefinedFloat.PRICE |
InitiateCheckout | content_category content_ids contents currency num_items value
|
| PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedLong.QUANTITY PredefinedFloat.PRICE |
Lead | content_category content_name currency value
|
| PredefinedString.PARAM_01 PredefinedString.CONTENT_ID PredefinedString.CURRENCY PredefinedFloat.PRICE |
Purchase | content_ids content_name content_type contents currency num_items value
⚠️ All these parameters are required. |
| PredefinedListString.CONTENT_IDS PredefinedString.CONTENT_ID PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedLong.QUANTITY PredefinedFloat.PRICE |
Search | content_category content_ids content_type contents currency search_string value
|
| PredefinedString.PARAM_01 PredefinedListString.CONTENT_IDS PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedLong.SEARCH_STRING PredefinedFloat.PRICE |
StartTrial | currency predicted_ltv value
|
| PredefinedString.CURRENCY PredefinedLong.PREFERRED_PRICE_RANGE PredefinedFloat.PRICE |
Subscribe | currency predicted_ltv value
|
| PredefinedString.CURRENCY PredefinedLong.PREFERRED_PRICE_RANGE PredefinedFloat.PRICE |
ViewContent | content_ids content_category content_name content_type contents currency value
|
| PredefinedListString.CONTENT_IDS PredefinedString.PARAM_01 PredefinedString.CONTENT_ID PredefinedString.CONTENT_TYPE PredefinedListObject.CONTENT_LIST PredefinedString.CURRENCY PredefinedFloat.PRICE |
Meta Events API
⚠️ Meta no longer recommends using Events API for new integration. Read more here.
In the Facebook App ID field, add the ID of your app.
In the Facebook Events API Access Token field, add the API access token.
In the Event name field, enter the event name and click Validate Events API.
In the Event mapping section, you can map Affise events with Meta accordingly.
Meta Ads Partners
In Integrations > Applications > a certain application > Meta Ads Partners, you can see the list of partners connected to your Facebook integration. Also, you can add partners and delete them from the list.
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].



