AppsFlyer required integration fixes
Review the MMP integration rules and how to resolve integration setup warnings in the User Acquisition Dashboard.
Read time 7 minutesLast updated 2 days ago
When you integrate your user acquisition campaign with AppsFlyer, the Unity dashboard validates your integration setup to ensure it's configured correctly. If you don't resolve these integration errors, you can't launch new or paused campaigns, and your live campaigns can suffer serious performance and attribution issues. You must adhere to the following rules to set your campaigns live:
- The Game ID in the MMP integration must match the Game ID in the Unity dashboard.
- Postback windows must be at least 180 days or lifetime.
- Click-through lookback windows must be at least 2 days.
- View-through lookback windows must be at least 7 days.
- View-through attribution must be enabled.
- Level Complete event postbacks for Level Complete campaigns must contain values.
- Purchase event postbacks for Purchase campaigns must contain values.
- Revenue event postbacks for Ad revenue campaigns must contain values.
- Session event postbacks for Retention campaigns must contain values.
- Purchase events must be correctly mapped for Payer campaigns.
- AppsFlyer events must be mapped to the correct Unity event name.
- Within two days of launch, the app must have at least one install postback in the past 90 days.
- Within seven days of launch, campaigns must have one or more Ad Revenue event postbacks.
- Within seven days of launch, campaigns must have one or more In-app purchase event postbacks.
The Game ID must match
To meet this validation rule, ensure that the Game ID you enter in the AppsFlyer dashboard matches the Game ID in the Unity Ads User Acquisition dashboard exactly. To retrieve your Game ID from the Apps page of the Unity dashboard, follow these steps:- Go to Apps from the left navigation menu of the dashboard. The provided table lists each of your organization's apps. Following each app name, the dashboard displays the app platform and Game ID.
- Select the Copy symbol next to the ID to copy it to your clipboard.
Postback windows must be at least 180 days
To meet this validation rule with AppsFlyer, set your In-app event postback window tolifetime- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
-
Set the In-app event postback window to lifetime.

Lifetime postback window
Click-through lookback windows must be at least 2 days
To meet this validation rule, set your click-through lookback window to2- Go to the Install attribution section of the Integration tab.
- In the Install engaged click-through lookback window section, select Days.
-
Using the slider, set the window to 2 Days.

2-day click-through lookback window
View-through lookback windows must be at least 7 days
To meet this validation rule, set your view-through lookback window to7- Go to the Install attribution section of the Integration tab.
- In the Install engaged view-through lookback window section, select Days.
- Using the slider, set the window to 7 Days.
-
Activate the Install view-through attribution toggle.

7-day view-through lookback window
View-through attribution must be enabled
To meet this validation rule, ensure that you enable view-through attribution in your AppsFlyer integration setup. To enable view-through attribution, follow these steps:- Go to the Install attribution section of the Integration tab.
-
Following the Install engaged view-through lookback window section, activate the Install view-through attribution toggle.

View-through attribution enabled
Level Complete event postbacks must contain values
To meet this validation rule, ensure that you choose Values & revenue when you map Level Complete events in your AppsFlyer integration setup. To configure this data-sharing setting, follow these steps:- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- In the including column of the mapping table, select Values & revenue:
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & revenue |

Share Level Complete event values and revenue
Purchase event postbacks must contain values
To meet this validation rule, ensure that you choose Values & revenue when you map Purchase events in your AppsFlyer integration setup. To configure this data-sharing setting, follow these steps:- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- In the including column of the mapping table, select Values & revenue:
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & revenue |

Share Purchase event values and revenue
Revenue event postbacks must contain values
To meet this validation rule, ensure that you choose Values & revenue when you map Ad revenue events in your AppsFlyer integration setup. To configure this data-sharing setting, follow these steps in the Integration tab of the AppsFlyer integration setup:
- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- In the including column of the mapping table, select Values & revenue:
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & revenue |

Share Ad Revenue event values and revenue
Session event postbacks must contain values
To meet this validation rule, ensure that you choose Values & no revenue when you map Session events in your AppsFlyer integration setup. To configure this data-sharing setting, follow these steps:- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- In the including column of the mapping table, select Values & no revenue:
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & no revenue |

Share Session event values only
Purchase event postbacks must be mapped correctly
To meet this validation rule, ensure that you map Purchase events correctly in your AppsFlyer integration setup. To map your Purchase event postbacks, follow these steps:- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- Map your Purchase event row as follows:
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & revenue |

Purchase event mapping for In-app Purchase campaigns
AppsFlyer events must be mapped to the correct Unity event name
To meet this validation rule, ensure that you map all AppsFlyer event postbacks correctly. To map your events, follow these steps:- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- Map your post-install events to Unity events in the mapped to partner event column as follows:
- Session events to
session - Level Complete events to
level_complete - Ad Revenue events to
ad_revenue - In-app Purchase events to
purchase
- Session events to
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & revenue |
| | All media sources, including organic | Values & revenue |
| | All media sources, including organic | Values & no revenue |
| | All media sources, including organic | Values & revenue |
App must receive at least one install postback
To meet this validation rule, ensure that you configure your Default postbacks settings correctly so your campaigns can receive install postbacks. Configure these AppsFlyer integration settings as follows:- Go to the Default postbacks section of the Integration tab.
-
In the row, use the for users from dropdown to select All media sources, including organic.
Install
Share all sources, including organic
Campaigns must receive one or more Ad Revenue postbacks
To meet this validation rule, ensure that you enable ad revenue data in your AppsFlyer integration setup. To share ad revenue event data with your campaign, follow these steps:- Go to the Ad revenue tab of your AppsFlyer integration setup.
-
Activate the Get ad revenue data toggle.

Get ad revenue toggle
-
From the AppsFlyer dashboard side menu, go to Settings > Revenue Settings.
- In the Ad revenue tab of the Revenue settings page, select New ad revenue integration.
- Select Unity Ads from the list of revenue partners.
-
In the partner configuration, select Impression-level (via SDK) with Device-level (via S2S API) as the report type.

AppsFlyer Revenue settings configuration
- Enter your API credentials. Enter your Game ID in the App Key field. To retrieve your Secret key from the Unity dashboard, refer to the following steps:
To retrieve your Secret key from the Unity Dashboard, follow these steps:
- From the left navigation menu, go to API Management.
-
Select Advertising Management API > Service account.

Advertising Management Service account
- If you don't have a service account, select + New. If you have a service account already, select it from the table.
- In the service account page, go to the Keys section.
- Select + Add key to generate a new key.
- Select the copy buttons following the Secret key to copy the ID.
Campaigns must receive one or more In-app Purchase postbacks
To meet this validation rule, ensure that you map Purchase events correctly in your AppsFlyer integration setup. To map your Purchase event postbacks, follow these steps:- Go to the In-app event postbacks section of the Integration tab.
- Activate the In-app event postbacks toggle.
- Map your Purchase event row as follows:
AppsFlyer event | mapped to partner event | for users from | including |
|---|---|---|---|
| | All media sources, including organic | Values & revenue |

Purchase event mapping for In-app Purchase campaigns