Google AdMob mediation
Supported ad formats
Enable an adapter for Google AdMob mediation
You can connect to the Boost via Google AdMob mediation. To add the Boost to Google AdMob mediation, follow these steps:
-
Integrate Google AdMob mediation.
-
Integrate the Yandex adapter in one of the following ways:
External Dependency ManagerUnity Package Manager-
Import
admob-mobileads-mediation-8.7.0.unitypackagefrom the third-party-networks-mediation directory. You will also be prompted to install the Google resolver. If you've already added the Google resolver to your project, uncheck the box.How to add a package
Select the required plugin (Assets → Import Package → Custom Package) and click Import.
-
Use the Google resolver to install dependencies: enable auto-resolve or select the menu item Assets → External Dependency Manager → Android Resolver → Resolve.
- Add the OpenUPM registry: in the Unity top menu, select Edit → Project Settings → Package Manager and add a registry with the
https://package.openupm.comURL and thecom.yandexandcom.googlescopes. For more information, see Integrating via Unity Package Manager. - Go to the Yandex Mobile Ads tab in OpenUPM and install the
com.yandex.admob-mobileads-mediationpackage.
-
-
Create an AdUnitId for your selected ad type in the Boost interface.
-
Add the Boost in the Google AdMob web interface. See the configuration section for details.
-
Sync the ad unit settings between the two web interfaces.