Enabling Google

Supported library and platform versions

Yandex Mobile Ads SDK:

  • The minimum supported version of the 7.6.0
  • The current version of the 7.6.0
  • The maximum supported version of the 7.6.1 (not including)

Google Mobile Ads SDK:

  • The minimum supported version of the 23.4.0
  • The current version of the 23.4.0
  • The maximum supported version of the 23.4.1 (not including)

Version history

Supported ad formats

Integration

Integration using Gradle

  1. Set up mediation in the Yandex partner interface and other network interface.

  2. Add the dependencies to the build.gradle file at the app level:

    implementation 'com.yandex.android:mobileads:7.6.0'
    implementation 'com.yandex.ads.mediation:mobileads-google:23.4.0.0'
    
  3. Add your AdMob ID to your app's AndroidManifest.xml file using the <meta-data> tag named com.google.android.gms.ads.APPLICATION_ID (learn more about how to find the AdMob ID).

    <manifest>
        <application>
     ...
            <meta-data
                android:name="com.google.android.gms.ads.APPLICATION_ID"
                android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
     ...
        </application>
    </manifest>
    
Previous
Next