ドキュメント

サポート

LevelPlay SDK - React Native

BidMachine integration

Integrate BidMachine as an ad network in your React Native app using the LevelPlay mediation platform, covering account setup and SDK configuration.
読み終わるまでの所要時間 1 分最終更新 16日前

重要
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 BidMachine 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 BidMachine account

Create an account with BidMachine. You can do so here.

Step 2. Create a Source ID in BidMachine

To get your Source ID, contact BidMachine.

Step 3. Activate BidMachine on the LevelPlay SDK Networks Module

Inside the LevelPlay platform, access the SDK Networks setup to configure BidMachine parameters.
  1. After you have the credentials mentioned above, log in to your LevelPlay account and go to Monetize > Setup > SDK Networks
  2. Select BidMachine from the table of Available Networks and click on the Activate button. Insert all credentials. Then click Save.
  3. Select BidMachine from the list of ad networks and click Setup.
  4. Activate the relevant ad units.

Step 4. Add the BidMachine Adapter to Your Build

Continue your integration using native adapters for Android and iOS.

Step 5. BidMachine Additional Settings

User-level COPPA

LevelPlay lets publishers communicate BidMachine User-level COPPA settings directly to the BidMachine network. This feature is enabled using LevelPlay SDK 7.4.0+, BidMachine adapter 4.3.0+. Use the following syntax, to set BidMachine COPPA with the parameter True:
import { LevelPlay } from 'unity-levelplay-mediation'LevelPlay.setMetaData('BidMachine_COPPA', ['true'])
Use the following syntax, to set BidMachine COPPA with the parameter False:
import { LevelPlay } from 'unity-levelplay-mediation'LevelPlay.setMetaData('BidMachine_COPPA', ['false'])
You can now deliver BidMachine within your application.