Enabling AdMob

Warning.

This is an archived version of the documentation. Actual documentation for all platforms can be found here.

  1. Supported ad formats
  2. Integration
Note.

To track app installations in mobile mediation, you need to configure Info.plist for the adapter. Follow the ad network documentation.

Supported versions of libraries and platforms:

YandexMobileAdsSDK

Minimum supported version: 5.9.0.

Maximum supported version: 6.0.0 (up to but not including).

GoogleMobileAdsSDK

Minimum supported version: 10.7.0.

Maximum supported version: 11.0.0 (up to but not including).

iOS

Minimum supported version: 12.0.

Supported ad formats

Integration

To work with AdMob you must connect the AdMobYandexMobileAdsAdapters library.

The AdMobYandexMobileAdsAdapters library has been adapted to work with the CocoaPods dependency management system and supports a static integration method.

  1. Set up mediation in the Yandex Partner interface and YAN interface.

  2. To connect the library, add the dependency to the project's Podfile:
    pod 'AdMobYandexMobileAdsAdapters', '10.7.0.0'
  3. To your app's Info.plist file, add the GADApplicationIdentifier key with your AdMob ID (learn more about how to find out the AdMob ID).

    <key>GADApplicationIdentifier</key>
    <string>ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy</string>                 

Integration examples