This page shows you how to download, import, and configure the AppLovin MAX Unity Plugin.
[COMPONENT: VideoFrame]
You may choose to import the AppLovin MAX Unity Plugin via the Unity Package Manager (UPM) or by importing a .unitypackage.
[COMPONENT: DownloadButton]
If you want to receive release updates, subscribe to the AppLovin MAX Unity Plugin GitHub repository.
Add your AppLovin SDK Key in the AppLovin Integration Manager:
[COMPONENT: SdkKey]
Attach the OnSdkInitializedEvent event handler, then set the SDK key and initialize the SDK as soon as your app launches.
The following code sample demonstrates this:
[COMPONENT: Cached]
In iOS 14, Apple introduced global privacy changes that you must comply with. This section explains how to comply with these changes and thereby avoid a material drop in revenue.
The Unity Plugin automatically updates your app’s Info.plist with network-specific identifiers.
Implement the MAX terms & privacy policy flow to integrate compliance with the ATT framework and acceptance of your Terms of Service and Privacy Policy.
[COMPONENT: ConsentAndDataAPIs]
Users have a better experience if mediated networks cache their ad assets. For this reason, always initialize the AppLovin SDK on startup. This gives mediated networks time to cache ads. This is especially important with video ads.
You must get consent from your users (in applicable jurisdictions) on behalf of AppLovin’s monetization partners. Then you must pass consent flag values to AppLovin. To learn how to do this, review the Privacy–consent and data APIs documentation.
You can find your SDK key in the Account > General > Keys section of the AppLovin dashboard.
The AppLovin MAX Unity Plugin requires specific registries and dependencies. The plugin installer automatically adds these registries and dependencies to Unity. Download the plugin installer by clicking the Download Installer button below:
[COMPONENT: DownloadButton]
To migrate from a .unitypackage to AppLovin’s scoped registry, follow these steps to migrate the plugin and adapters:
1. Ensure you use AppLovin Unity Plugin version 8.0.0 or higher.
1. Open AppLovin’s Integration Manager by selecting the menu option AppLovin > Integration Manager.
1. Scroll down to Unity Package Manager Migration and click Upgrade All Adapters and Migrate to UPM.
