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.1.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 yield groups

Follow the instructions in the Ad Manager help center to remove MoPub from all of your yield groups in the Ad Manager UI.