Android

Including the AdMob/GAM Adapter for Android into your app

Ensure that Maven Central is included in your repositories:

repositories {
    // [... other project repos]
    mavenCentral()
}

Update your dependencies to include the latest MobileFuse google Adapter:

dependencies {
    // [... other project dependencies]
    implementation 'com.mobilefuse.sdk:mobilefuse-adapter-admob:{user.adapterVersionAdmobAndroid}'
}
📘

For the new GMA Next Gen SDK, we have a separate adapter that you should use instead. This is due to extensive breaking changes in GMA Next Gen. Instead of com.mobilefuse.sdk:mobilefuse-adapter-admob please use mobilefuse-adapter-gma-nextgen in your dependencies.

Set up data privacy preferences

To best monetize your traffic, set up the data privacy preferences for your users by following the integration guide: