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 integrated ironSource’s Rewarded Video, Interstitial or Banner into your application.

Step 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.

  1. Once you have the credentials mention above, log in to your ironSource 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 Bid Machine Adapter to Your Build

Unity LevelPlay supports both Gradle dependencies and manual download mechanisms.

Gradle

  1. 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' }
    }
  2. Add the adapter’s Maven name to your build.gradle script of your app module.

dependencies {
implementation 'com.ironsource.adapters:bidmachineadapter:4.3.6'
implementation 'io.bidmachine:ads:2.5.2'
}

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!