MAX is AppLovin's in-app monetization solution.
Move beyond the traditional monetization solution and integrate MAX. MAX is a single unbiased auction where advertisers get equal access to all ad inventory and bid simultaneously, which drives more competition and higher CPMs for you. You can read more about it here.
Please check out our documentation to get started on integrating and enabling mediated networks using our guides.
To get started with the demo apps, follow the instructions below:
- Open your desired project in Android Studio:
DemoApp-Java
orDemoApp-Kotlin
. - Verify that the dependency
implementation 'com.applovin:applovin-sdk:+'
is included in yourbuild.gradle (Module: app)
. - Update the
applovin.sdk.key
value inAndroidManifest.xml
file with your AppLovin SDK key associated with your account. - Update the package with your own unique identifier associated with the application you will create (or already created, if it is an existing app) in the MAX dashboard in your
build.gradle (Module: app)
. - Update the unique MAX ad unit id value within each ad's activity code. Each ad format will correspond to a unique MAX ad unit ID you created in the AppLovin dashboard for the package used before.
![](https://private-user-images.githubusercontent.com/144739628/273354916-25009aa9-3f67-44f6-9dcf-c9ceb3a42fe8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMTc5NzAsIm5iZiI6MTcyNTMxNzY3MCwicGF0aCI6Ii8xNDQ3Mzk2MjgvMjczMzU0OTE2LTI1MDA5YWE5LTNmNjctNDRmNi05ZGNmLWM5Y2ViM2E0MmZlOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMlQyMjU0MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMzkyMDU3ZjdiNDNmNDFhZTc5OGY3OTNhN2U1NTI3NGUzZDQ3MzBlOGZjZDRiOTA0ZDJmODQzMWMzYTRkNmRjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.-YCh5vJIPvoQqv9TwwL6iIZjBwLfLzpzL2MF2_xghsg)
Code | Description |
---|---|
-1 | Indicates an unspecified error with one of the mediated network SDKs. |
204 | Indicates that no ads are currently eligible for your device. |
-102 | Indicates that the ad request timed out (usually due to poor connectivity). |
-103 | Indicates that the device is not connected to the internet (e.g. airplane mode). |
-2051 | Indicates that the device is not connected to a VPN or the VPN connection is not working properly (Users in China Only). |
-5001 | Indicates that the ad failed to load due to various reasons (such as no networks being able to fill). |
-5201 | Indicates an internal state error with the AppLovin MAX SDK. |
-5601 | Indicates the provided Activity instance has been garbage collected while the AppLovin MAX SDK attempts to re-load an expired ad. |
For feature requests, improvements, questions or any other integration issues using MAX Mediation by AppLovin, contact us via our support page https://monetization-support.applovin.com/hc/en-us.