Skip to content

MagniteEngineering/android-admob-mediation

Repository files navigation

Magnite mediation adapter for AdMob (Android)

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

Demo apps

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.

Integration steps

  1. Add dependency on AdMob-Magnite Mediation library.
dependencies {
    implementation 'com.magnite.sdk:admob-mediation:0.0.1+'
}
  1. Create new or edit existing Mediation Group, then click Add custom event.

Step 1

  1. Fill the fields Label and Manual eCPM, then click Continue.

Step 2

  1. Create a mapping for each ad unit.

Step 3

  1. Fill the fields Mapping name, Class Name and Parameter, then click Done.

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"}

Step 4. Dashboard

Step 4

  1. Select a mapping, then click Done.

Step 5

  1. Make sure new ad source is appeared in list, then click Save.

Step 6

About

Android - Google AdMob Adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published