- Supported Ad Formats
- Download and Integrate
- Set up AppLovin on the MoPub Dashboard
- Network Reporting and Auto CPM
- Migrate AppLovin from Custom Native Setup
- Test an Ad
- Additional Support
If you plan to use the MoPub SDK to load and display ads from AppLovin via mediation, use this article for integration instructions and information unique to the ad network. To learn more about how MoPub mediation works, refer to our MoPub Network Mediation article.
Supported Ad Formats
AppLovin currently supports the following ad formats. For support information, visit the AppLovin homepage.
|MoPub Formats||AppLovin Ad Formats|
|Medium Rectangle†||Medium Rectangle†|
|Rewarded Ad||Rewarded Video Ad|
† Advanced Bidding not supported.
Download and Integrate
To download the AppLovin adapters, navigate to the Mediation Integration Tool. You must also download the AppLovin SDK:
For Android, AppLovin adapters are released as an Android Archive (AAR) file starting with version 184.108.40.206. The AAR includes the required Manifest data for AppLovin. As a result, you no longer need to update your
AndroidManifestmanually for any generic data, such as permissions and Activities. Any other app-level placement configuration required by AppLovin must be manually entered into the
For the latest download and integration instructions, consult AppLovin’s tutorials before you integrate the SDK and adapters.
Initialize the AppLovin SDK
Initialize the AppLovin SDK at app launch. Doing so helps maximize fill rate for the initial ad request to AppLovin:
``` // Android AppLovinSdk.initializeSdk(context); // iOS [ALSdk initializeSdk]; ```
AppLovin SDK Key
Android: Publishers mediating AppLovin must add their AppLovin SDK key to the app’s
AndroidManifestas a child of the
<application></application>tag, as shown:
<meta-data android:name="applovin.sdk.key" android:value="YOUR_SDK_KEY" />
iOS: Go to your Project Settings. Select Info, click on one of the rows of Custom iOS Properties and click the + to add a new row. The key of the new row key should be
AppLovinSdkKeyand the value is shown on your AppLovin dashboard.
Unity: To pass the AppLovin SDK Key from Unity, pass it as a
<key, value>pair in the
NetworkConfiguration Dictionaryin C# when initializing MoPub. The name of the key is
sdk_keyand value is provided by AppLovin. Refer to the MoPub sample code.
Set up AppLovin on the MoPub Dashboard
Package Nameis required. Without it, the AppLovin network configuration is considered invalid. Make sure your app’s package name is added against your app.
Zone IDis optional. To find your
Zone ID, in the AppLovin dashboard go to App Discovery > Zones > view or create your
Network Reporting and Auto CPM
The following setup is required to take advantage of Auto CPM. To enable AppLovin network reporting and Auto CPM:
In the Network settings page for AppLovin:
enable reporting access
provide the the Report Key
To find the Report Key, in the AppLovin navigation panel, navigate to Account and then Keys, and look for Report key.
Navigate to the Auto CPM preferences page and turn on Auto CPM.
Migrate AppLovin from Custom Native Setup
Zone ID(if applicable) from the old custom native connection to the supported AppLovin instance.
MoPub will initiate the following AppLovin mediation adapter class names to render the ads:
If you are manually entering these class names, migrate to the new network setup and pause the Custom Native Network. If you are using your own mediation adapter class names, make sure that both the old custom native network and the new AppLovin network UI are set up for backward compatibility.
Important: During migration, make sure that the custom native network and the AppLovin network are not both live at the same time because this may impact your revenue.
Test an Ad
We recommend that you test your AppLovin integration using MoPub mediation test mode to verify that the adapter works as expected. Test mode must be set up on both the MoPub side and the AppLovin side.
Set Up Test Mode on the MoPub Side
Refer to our Mediation Test Mode article for complete details on using this mode.
Set Up Test Mode on the AppLovin Side
AppLovin supports test mode, which you can enable by using AppLovin test mode SDK methods in your code. Refer to AppLovin’s instructions for setting up test mode and to AppLovin’s troubleshooting tips.
Make sure to verify parity across the device ID details you enter on the MoPub UI side and the AppLovin SDK methods.
AppLovin test mode is only available for iOS and Android native integrations. At this time, there are no test mode capabilities for Unity integrations, but an adapter will be released in the future.
For inquiries and support, consult AppLovin’s support center.
How can we make this article better for you?
Last updated August 28, 2021
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2021 MoPub (a division of Twitter, Inc.)