Configure AppsFlyer data-sharing

Read time 3 minutes

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:

Configure postbacks in the AppsFlyer dashboard

Do the following in the AppsFlyer dashboard to send post-install event data to Unity:

  1. From the side menu, select Collaborate > Active integrations.
  2. Choose Unity from the integrated partner list.
  3. Go to the In-app event settings section of the AppsFlyer dashboard Integration tab.
  4. Enter your Unity Game ID in the game_id field.
  5. Ensure you've toggled In-app event postbacks on.
  6. 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 eventmapped to partner eventfor users fromincludingAssociated campaignsNotes
af_ad_revenue
ad_revenue
All media sources, including organicValues & revenue

{ event_name }

purchase
All media sources, including organicValues & revenue
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 organicValues & revenue
  1. 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.
  2. 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:

  1. From the side menu, select Collaborate > Active integrations.
  2. Choose Unity from the integrated partner list.
  3. Go to the Permissions tab and ensure that you've enabled the following settings:
  • Ad network permissions
  • Access ad revenue raw data (UA signals).
  1. 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.
  2. Click Save Settings.