Ad mediation using IronSource
This is an archived version of the documentation. Actual documentation for all platforms can be found here.
Supported versions of libraries and platforms:
Minimum supported version: 5.10.0.
Maximum supported version: 6.0.0 (up to but not including).
Minimum supported version: 7.3.1.1.
Maximum supported version: 7.4.0.0 (up to but not including).
Supported ad formats
Enable an adapter for IronSource mediation
- Enable using Gradle
-
Add the following dependencies to the build.gradle file at the application level:
implementation 'com.yandex.android:mobileads:5.10.0' implementation 'com.yandex.ads.adapter:ironsource-mobileads:5.10.0.0' implementation 'com.ironsource.sdk:mediationsdk:7.3.1.1'
If your project uses proguard, you must add the following lines in the proguard.cfg file:
-keep class com.ironsource.mobileads.** {
*;
}
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 issue an adUnitId
in the Yandex partner interface.
Creating an ad unit
- Configure the Custom network. The documentation is available at this link.
Specify 15b8f8fc1 as the network key. Once the Custom network is added, the Yandex network appears in the SDK networks section.
Click Setup to open a dialog box with the new ad unit.
Set up the ad unit. You can get the
adUnitId
parameter value in the Yandex Partner interface.After adding the ad unit, the Custom section will show an active Interstitial Ad Unit for the Yandex network.
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 Android SDK
You can download examples of using ads at the links.