This repository contains Yandex Mobile Ads plugin for Unity. This plugin allows Unity developers to easily integrate Yandex Mobile Ads in Android and iOS apps.
Documentation could be found at the official website
EULA is available at EULA website
To download Yandex Mobile Ads plugin for Unity to your project you can use the following command:
openupm add com.yandex.mobileads
-
Open UPM settings by selecting Edit > Project Settings > Package Manager in the Unity menu
-
Add new scoped registry OpenUPM with URL
https://package.openupm.comand scopes 'com.yandex',com.google -
Open UPM by selecting Window -> Package Manager in the Unity menu
-
Go to My Registries and find
Yandex Mobile Ads plugin for Unity -
Click on Install. The package will be added to your project
-
To use Yandex Mobile Ads plugin for Unity in your project download the assets linked to the release (Releases page)
-
Open your project in the Unity editor
-
Select
Assets > Import Package > Custom Packageand find theyandex-mobileads-lite-<version>.unitypackagefile. -
Make sure all of the files are selected and click Import.
-
Add Google resolver to your project, if you haven't done it yet. Resolve dependencies.
-
You can use one of demo scripts in folder
samplesto test plugin. Just add one of this files to your project.
Third-party networks can be connected to Yandex Mobile Ads Mediation in several steps:
-
Import
yandex-mobileads-lite-<version>.unitypackageto your project -
Import unity package of the desired third-party network
-
Add Google resolver to your project, if you haven't done it yet. Resolve dependencies.
-
Set up mediation according to AdFox documentation
-
Integrate AdMob
-
Import package
admob-mobileads-mediation-<version>.unitypackagefrom the release assets -
Add Google resolver to your project, if you haven't done it yet. Resolve dependencies.
-
Get the Block ID in the Yandex Partner interface for each Ad Unit created in AdMob. Then set up mediation in the AdMob web interface.
For more information, please visit our:
-
Integrate IronSource
-
Import package
ironsource-mobileads-mediation-<version>.unitypackagefrom folderthird-party-networks-mediation -
Add Google resolver to your project, if you haven't done it yet. Resolve dependencies.
-
Get the Block ID in the Yandex Partner interface for each ad placement configured in Ironsource. Then set up mediation in the Ironsource web interface.
For more information, please visit our:
| Package | Description |
|---|---|
| yandex-mobileads-lite-7.18.0 | Main Yandex Mobile Ads package distributed for use with Google resolver |
| yandex-mobileads-mediation-7.18.0 | Main Mobile Ads Mediation package distributed for use with Google resolver |
| mobileads-google-mediation-7.18.0 | Admob mediation |
| mobileads-applovin-mediation-7.18.0 | AppLovin mediation (Supported only by android) |
| mobileads-chartboost-mediation-7.18.0 | Chartboost mediation (Supported only by android) |
| mobileads-bigoads-mediation-7.18.0 | BigoAds mediation (Supported only by android) |
| mobileads-inmobi-mediation-7.18.0 | Inmobi mediation |
| mobileads-ironsource-mediation-7.18.0 | IronSource mediation |
| mobileads-mintegral-mediation-7.18.0 | Mintegral mediation |
| mobileads-mytarget-mediation-7.18.0 | MyTarget mediation |
| mobileads-pangle-mediation-7.18.0 | Pangle mediation (Supported only by android) |
| mobileads-startapp-mediation-7.18.0 | StartApp mediation (Supported only by android) |
| mobileads-tapjoy-mediation-7.18.0 | Tapjoy mediation (Supported only by android) |
| mobileads-unityads-mediation-7.18.0 | UnityAds mediation |
| mobileads-vungle-mediation-7.18.0 | Vungle mediation |
| admob-mobileads-mediation-7.12.0 | Third-party mediation with AdMob |