Configure AppsFlyer data-sharing
Attention: The following article discusses products or services (“Third-party Products”) not developed, owned, or operated by Unity. This information might be outdated or incomplete and is provided for your convenience. Your use of any Third-party Product is subject to its own terms. Unity makes no warranties regarding these products and isn't liable for any damages or losses arising from their use, including issues related to content, advertising, or materials from Third-party providers.
To run optimized ad campaigns with AppsFlyer as your MMP, ensure that you enable AppsFlyer to send post-install event data to Unity. Refer to the following instructions to configure your data sharing settings and postbacks in the AppsFlyer dashboard.
Prerequisites
To set up AppsFlyer to send post-install data to Unity, ensure you meet the following prerequisites:
- Add at least one app to the Unity Ads User Acquisition dashboard.
- For ad revenue data sharing, you need an AppsFlyer ROI360 subscription.
- Integrate with AppsFlyer.
Configure postbacks in the AppsFlyer dashboard
Do the following in the AppsFlyer dashboard to send post-install event data to Unity:
From the side menu, select Collaborate > Active integrations.
Choose Unity from the integrated partner list.
Go to the In-app event settings section of the AppsFlyer dashboard Integration tab.
Enter your Unity Game ID in the
game_id
field.Ensure you’ve toggled In-app event postbacks on.
Configure your postbacks in the event fields. AppsFlyer supports sending the following postbacks to Unity:
- Ad Revenue
- Purchase
- Level Complete
Refer to the following table to configure your postback settings correctly:
AppsFlyer event mapped to partner event for users from including Associated campaigns Notes af_ad_revenue
ad_revenue
All media sources, including organic Values & revenue In-app Purchase (IAP) Return on Ad Spend ROAS Hybrid ROAS { event_name
}purchase
All media sources, including organic Values & revenue Ad revenue ROAS Hybrid ROAS Ensure that your AppsFlyer event name matches the event identifiers in your app's code or the event won’t map successfully. { milestone_event_name
}level_complete
All media sources, including organic Values & revenue Level Complete Note: If you map the same post-install event in the mapped to partner event field to multiple AppsFlyer events, your events won’t map successfully.
Use the for users from dropdown to choose whether you want to pass data from all installs (including unattributed) or just those attributed to Unity. Selecting All media sources, including organic allows Unity’s models to learn from your purchase events across all networks.
Click Save Settings.
Pass ad revenue UA signals to Unity
After onboarding with ROI360, follow these steps to enable UA signals in the AppsFlyer dashboard:
- From the side menu, select Collaborate > Active integrations.
- Choose Unity from the integrated partner list.
- Go to the Permissions tab and ensure that you've enabled the following settings:
- Ad network permissions
- Access ad revenue raw data (UA signals).
- Use the for users from dropdown to choose whether you want to pass data from all installs or just those attributed to Unity. Selecting All media sources, including organic allows Unity’s models to learn from your purchase events across all networks.
- Click Save Settings.