ドキュメント

サポート

LevelPlay SDK - Unity

Yandex Ads integration

Integrate Yandex Ads as an ad network on Unity LevelPlay by creating an account, adding your app, and configuring ad units.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

重要
The following documentation discusses products or services (“Third-party Products”) not developed, owned, or operated by Unity. This information might be outdated or incomplete and is provided for your convenience. Your use of any Third-party Product is subject to its own terms. Unity makes no warranties regarding these products and isn't liable for any damages or losses arising from their use, including issues related to content, advertising, or materials from Third-party providers.
This guide will instruct you step-by-step on how to set Yandex Ads live as an Ad Network on Unity LevelPlay.

Prerequisites

Ensure that you correctly integrate Rewarded ads, Interstitial ads, or Banner ads into your application. Refer to the following platform-specific guides for integration instructions:

Step 1. Create a Yandex Ads account

Create an account with Yandex Ads. You can do so here.

Step 2. Add your app in Yandex Ads

Add an app to your Yandex Ads account. Learn how here
After you’ve added your app, take note of the App ID. You’ll need this for setup on the LevelPlay platform later.

Step 3. Create an ad unit

Set up the ad units (rewarded, interstitial, or banners ads) you want to monetize with on the Yandex Ads platform. Learn how
After you’ve added your ad units, take note of the Ad Unit ID. You’ll need this for setup on the LevelPlay platform later.

Step 4. Activate Yandex Ads on the LevelPlay SDK Networks Module

  • Log into your LevelPlay account and go to the LevelPlay side nav bar > Setup > SDK Networks
  • Click on Manage Networks
  • Select Yandex Ads from the list of available ad networks
    Yandex Ads SDK Networks
  • Click Activate to turn on the network
    Yandex Ads activate
  • Next, select the app on which you'd like to run Unity LevelPlay's Mediation with Yandex Ads bidding.
  • Select Yandex Ads from the list of ad networks and click on the tool Setup icon.
    Yandex Ads setup icon
  • Then insert the Application Key (step 2) and Ad Unit ID (step 3) under Interstitial, Rewarded ads, or Banner Settings. Click Save.
    Yandex Ads configuration

Step 5. Add the Yandex Ads Adapter to Your Build

LevelPlay Unity Network Manager (Recommended)

After you’ve completed SDK integration, you can download Yandex Ads Adapter, using the LevelPlay Network Manager. In your Unity Development platform, go to Ads Mediation > Network Manager.

Step 6. Yandex Ads Additional Settings

User-level COPPA

Unity LevelPlay lets publishers communicate Yandex Ads User-level COPPA settings directly to the Yandex Ads network. This feature is enabled using LevelPlay SDK 8.1.0+, Yandex Ads Adapter 4.3.2+. Use the following syntax, to update Yandex Ad's COPPA User Status with true:
IronSource.Agent.setMetaData("Yandex_COPPA","true");
Use the following syntax, to update Yandex Ad's COPPA User Status with false:
IronSource.Agent.setMetaData("Yandex_COPPA","false");
You can now deliver Yandex Ads within your application.