Enabling Unity Ads

Supported ad formats

Integration

  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.7.0'
    implementation 'com.yandex.ads.mediation:mobileads-unityads:4.12.3.1'
    

Note

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

To work with Unity Ads you must connect the UnityAdsYandexMobileAdsAdapters library.

The UnityAdsYandexMobileAdsAdapters 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 other network interface.

  2. To connect the library, add the dependency to the project's Podfile:

    pod 'UnityAdsYandexMobileAdsAdapters', '4.12.3.2'