Integrating MoPub with Mediation (Deprecated)

Remove MoPub SDK and adapter

With MoPub being shut down, we recommend removing the MoPub SDK and adapter from your project.

Android Studio

Remove the mopub artifact from your app-level build.gradle file:

repositories {
    google()
    mavenCentral()
}

...
dependencies {
    implementation 'com.google.android.gms:play-services-ads:21.0.0'
    implementation 'com.google.ads.mediation:mopub:5.18.0.0'
}
...

Manual integration

  1. Remove the MoPub SDK's source from your project.

  2. Remove the MoPub adapter's .aar file from your project.

Remove MoPub from mediation groups

Follow the instructions in the AdMob help center to remove MoPub from all of your mediation groups in the AdMob. Find mediation groups configured for MoPub.