BidMachine Integration Guide
This guide will instruct you step-by-step on how to set BidMachine live as an Ad Network on Unity LevelPlay.
Before you start Make sure you have correctly integratedStep 1. Create a BidMachine account
Create an account with BidMachine. You can do so here.
Step 2. Create a Source ID in BidMachine
In order to get your Source ID please contact to BidMachine.
Step 3. Activate BidMachine on the ironSource SDK Networks Module
Inside the ironSource platform, access the SDK Networks setup to configure BidMachine parameters.
- Once you have the credentials mention above, log in to your ironSource 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 Bid Machine Adapter to Your Build
Unity LevelPlay supports both Gradle dependencies and manual download mechanisms.
Gradle
- Make sure the following Maven URL exist in your build.gradle script of your app module.
repositories { mavenCentral() maven {url "https://android-sdk.is.com/"} maven {url 'https://artifactory.bidmachine.io/bidmachine' } }
- Add the adapter’s Maven name to your build.gradle script of your app module.
dependencies { implementation 'com.ironsource.adapters:bidmachineadapter:4.3.9' implementation 'io.bidmachine:ads:3.0.1' }
Step 5. BidMachine Additional Settings
User-level COPPA
Unity LevelPlay let’s publishers communicate BidMachine User-level COPPA settings directly to the BidMachine network. This feature is enabled using ironSource SDK 7.4.0+, BidMachine Android Adapter 4.3.0+.
Use the following syntax, to set set BidMachine COPPA with the parameter True:
IronSource.setMetaData("BidMachine_COPPA","true");
Use the following syntax, to set BidMachine COPPA with the parameter False:
IronSource.setMetaData("BidMachine_COPPA","false");
Done!
You are now all set to deliver BidMachine within your application!