Ad mediation using IronSource

Warning.

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

  1. Supported ad formats
  2. Adding adapters to an app
  3. Setting up mediation in IronSource
  4. Requesting and displaying ads using the IronSource iOS SDK

Supported versions of libraries and platforms:

YandexMobileAdsSDK

Minimum supported version: 5.9.1.

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

IronSourceSDK

Minimum supported version: 7.3.0.

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

iOS

Minimum supported version: 12.0.

Adding adapters to an app

Note.

Before connecting an adapter, you need to integrate the Yandex Mobile Ads SDK. Otherwise, loading an ad will result in an error.

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

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

Setting up mediation in IronSource

To add the Yandex network to the list of networks available for mediation, use a Custom network. See the documentation on how to configure the Custom network at this link. Specify 15b8f8fc1 as the network key. For each ad unit created in IronSource, you need to get an adUnitID in the Yandex partner interface.

Creating an ad unit

  1. Configure the Custom network. The documentation is available at this link.
  2. Specify 15b8f8fc1 as the network key. Once the Custom network is added, the Yandex network appears in the SDK networks section.

  3. Click Setup to open a dialog box with the new ad unit.

  4. Set up the ad unit. You can get the AdUnitID parameter value in the Yandex Partner interface.

  5. After adding the ad unit, the Custom section will show an active Interstitial Ad Unit for the Yandex network.

  6. If you want to delete the ad unit, hover over it. The delete icon appears at the end of the line on the right.

Requesting and displaying ads using the IronSource iOS SDK

Interstitial ads
Follow the steps described in the IronSource documentation for interstitial ads.
Rewarded ads
Follow the steps described in the IronSource documentation for rewarded ads.