This page shows you how to integrate MAX mediation network adapters in your app. Choose which mediated ad networks you want to integrate by checking the boxes below. Then this page will display instructions specific to those networks.
Select the ad networks you want to integrate. Then follow the Android-specific instructions on this page.
[COMPONENT: NetworkConfigurator]

Google AdMob requires Android Gradle plugin version 4.2.0 or higher and Gradle version 6.7.1 or higher. If you see the following error, update your Android Gradle plugin and Gradle versions:
To update your Android Gradle plugin and Gradle versions, take the following steps:

Assets/Plugins/Android/baseProjectTemplate.gradle file.
Set the dependencies to use Gradle build tools version 4.2.0:
If your project uses the Meta Audience Network Unity SDK, you must be on version 11.0 or later for the MAX Meta Audience Network adapter to function.
To migrate from an older version of Meta Audience Network Unity SDK, delete the Assets/FacebookSDK directory, then download and re-import the latest version here.
[COMPONENT: ConfiguratorSection]
If you aren’t using the Meta Audience Network Unity Plugin, follow the instructions here under “Unity SDK, v5.10+ (not using the Audience Network-supplied Unity wrapper)” to add a wrapper for the relevant methods.
If you do not want to enable Limited Data Use (LDU) mode, pass SetDataProcessingOptions() an empty string array:
If you want to enable LDU for users and to specify user geography, call SetDataProcessingOptions() like this:
If you use Google UMP as your CMP, you can determine whether the user consented to Meta. To do so, use the following code:
To learn how to implement Meta Audience Network’s “Limited Data Use” flag in California, read the .
To update the Gradle Plugin version to a compatible one, enable the custom base Gradle template:
The template is Assets/Plugins/Android/mainTemplate.gradle for Unity 2019.2 or below, and Assets/Plugins/Android/baseProjectTemplate.gradle for Unity 2019.3 or above.
In that template, update the line below with the appropriate Gradle version:
[COMPONENT: ConfiguratorSection]
[COMPONENT: ConfiguratorSection]
Select the ad networks you want to integrate. Then follow the iOS-specific instructions on this page.
[COMPONENT: NetworkConfigurator]
Open the Integration Manager (

[COMPONENT: ConfiguratorSection]
If your project uses the Meta Audience Network Unity SDK, you must be on version 11.0 or later for the MAX Meta Audience Network adapter to function.
To migrate from an older version of Meta Audience Network Unity SDK, delete the Assets/FacebookSDK directory, then download and re-import the latest version here.
[COMPONENT: ConfiguratorSection]
If you aren’t using the Meta Audience Network Unity Plugin, you can follow the instructions here under “Unity SDK, v5.10+ (not using the Audience Network-supplied Unity wrapper)” to add a wrapper for the relevant methods.
If you do not want to enable Limited Data Use (LDU) mode, pass SetDataProcessingOptions() an empty string array:
If you want to enable LDU for users and to specify user geography, call SetDataProcessingOptions() like this:
If you use Google UMP as your CMP, you can determine whether the user consented to Meta. To do so, use the following code:
To learn how to implement Meta Audience Network’s “Limited Data Use” flag in California, read the .
[COMPONENT: ConfiguratorSection]
The Integration Manager automatically integrates SKAdNetwork IDs of integrated networks on your behalf.
[COMPONENT: ConfiguratorSection]
You can access the AppLovin Integration Manager from your Unity IDE. It allows you to install or upgrade mediation adapters and the mediation plugin itself.
To launch the Integration Manager, select AppLovin > Integration Manager from the Unity menu bar.

This displays a pop up window with a list of available mediation networks. You can Install or Upgrade ad networks by clicking buttons in the Action column.

[COMPONENT: UnityAdapterInfoTable]
[COMPONENT: Footnotes]

[COMPONENT: ConfiguratorSection]
[COMPONENT: ConfiguratorSection]
Version 6.2.1 of Audience Network SDK introduces the following requirement:
setAdvertiserTrackingEnabled flag, irrespective of the use of mediation.
This informs Meta whether to use the data to deliver personalized ads.[COMPONENT: ConfiguratorSection]
When you integrate third-party SDKs into your Mobile Property, you are solely responsible for such integrations. You and the third-party SDK provider must ensure compliant data processing and treatment of any user-based or device-based privacy choices or flags.
To integrate Amazon for Unity, refer to the Amazon Publisher Services integration instructions page.