BidMachine integration
Integrate BidMachine as an ad network in your React Native app using the LevelPlay mediation platform, covering account setup and SDK configuration.
Read time 1 minuteLast updated 5 days ago
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.- After you have the credentials mentioned above, log in to your LevelPlay account and go to Monetize > Setup > SDK Networks
- Select BidMachine from the table of Available Networks and click on the Activate button. Insert all credentials. Then click Save.
- Select BidMachine from the list of ad networks and click Setup.
- 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:Use the following syntax, to set BidMachine COPPA with the parameter False:import { LevelPlay } from 'unity-levelplay-mediation'LevelPlay.setMetaData('BidMachine_COPPA', ['true'])
You can now deliver BidMachine within your application.import { LevelPlay } from 'unity-levelplay-mediation'LevelPlay.setMetaData('BidMachine_COPPA', ['false'])