This library lets you serve ads to your apps from Magnite Ad Network via AdMob integration.
Here are two demo apps available to explore:
Find and edit Ad Unit IDs in MainActivity.kt or MainActivity.java, then build an app and use Ad inspector to make sure your integration is working correctly.
- Add dependency on AdMob-Magnite Mediation library.
dependencies {
implementation 'com.magnite.sdk:admob-mediation:0.0.1+'
}
- Create new or edit existing Mediation Group, then click
Add custom event.
- Fill the fields
LabelandManual eCPM, then clickContinue.
- Create a mapping for each ad unit.
- Fill the fields
Mapping name,Class NameandParameter, then clickDone.
Make sure to replace strings YOUR_APP_ID and YOUR_AD_TAG with the actual App ID and Ad Tag ID from the dashboard.
Mapping name: Magnite
Class Name: com.magnite.sdk.mediation.admob.MagniteAdapter
Parameter: {"appId":"YOUR_APP_ID","adTag":"YOUR_AD_TAG"}
- Select a mapping, then click
Done.
- Make sure new ad source is appeared in list, then click
Save.






