Enabling MoPub

  1. Supported ad formats
  2. Integration

Supported versions of libraries and platforms:

YandexMobileAdsSDK

Minimum supported version: 2.15.4.

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

MopubSDK

Minimum supported version: 5.12.0.

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

iOS

Minimum supported version: 9.0.

Supported ad formats

Integration

To work with MoPub, you need to connect the MoPubYandexMobileAdsAdapters library.

The MoPubYandexMobileAdsAdapters library has been adapted to work with the CocoaPods dependency management system and supports two integration methods: static and dynamic. Select the same integration method for the adapters that was used when connecting the YandexMobileAds SDK.

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

pod 'MoPubYandexMobileAdsAdapters', '0.7.0'
If you don't use CocoaPods
  1. Connect the MoPub SDK to the project.
  2. Download and add the MoPub adapter to the project.
  3. Make changes to the Build Settings file: in Framework Search Paths, add the path to the directory that contains the framework with the adapters.