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:

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_revenuead_revenueAll media sources, including organicValues & revenueIn-app Purchase (IAP) Return on Ad Spend ROAS Hybrid ROAS
    {event_name}purchaseAll media sources, including organicValues & revenueAd revenue ROAS Hybrid ROASEnsure 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_completeAll media sources, including organicValues & revenueLevel 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.

  7. 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.

  8. 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).
  4. 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.
  5. Click Save Settings.