Skip to content

MagniteEngineering/android-applovinmax-mediation

Repository files navigation

Magnite mediation adapter for AppLovin (Android)

This library lets you serve ads to your apps from Magnite Ad Network via AppLovin integration.

Demo apps

Here are two demo apps available to explore:

Replace App Key and Ad Unit IDs in MainActivity.kt or MainActivity.java with your own values, then build an app and check your integration is working correctly.

Important: AppLovin mediation doesn't work with test mode. Thus, if you set test devices IDs during AppLovin configuration or if you run test app on emulator, you won't get Magnite ads.

In order to get the ads from Magnite, you need to change the constant TEST_ADS = false in MainActivity.kt or MainActivity.java and then launch an app on real device.

Integration steps

  1. Add dependency on AppLovin-Magnite Mediation library.
dependencies {
    implementation 'com.magnite.sdk:applovin-mediation:0.0.1+'
}
  1. Add Magnite network as a Custom Network for mediation. Navigate to Mediation -> Manage -> Networks and click corresponding button.

Add Custom Network

  1. Choose Network Type value SDK and fill other parameters:

Custom Network Name

Magnite

iOS Adapter Class Name

MagniteAppLovinAdapter

Android / Fire OS Adapter Class Name

com.magnite.sdk.mediation.applovin.MagniteMediationAdapter

Register Network

  1. Configure newly added network to work with your Ad Units. Navigate to Mediation -> Manage -> Ad Units.

Then choose an Ad Unit you want to use with Magnite and scroll down to section Custom Networks & Deals.

Toggle switch Status to make it activated and displayed in green.

Fill the field App ID with your App ID value given from dashboard.

Fill the field Placement ID with your Ad Tag ID given from dashboard.

Fill the field CPM Price according to the order in which you want Magnite adapter to be traversed in the waterfall.

Important: You have to use the same App ID from the Magnite dashboard for all Ad Units within the single app!

Dashboard

Configure Ad Unit

About

Android - AppLovin Max Adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published