Aller au contenu principal

Android Mediation Adapters

Criteo In-App Bidding

To include the BlueStack Criteo mediation adapter, add the Gradle dependency below to your app-level build.gradle file

dependencies {
...
implementation 'com.azerion:bluestack-mediation-criteo:4.4.0.0'
...
}

Google (GAM / AdMob)

To include the BlueStack GAM / AdMob mediation adapter dependency,

  • Add your Google App ID to your app's AndroidManifest.xml file
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
</application>
</manifest>
  • And add the Gradle dependency below to your app-level build.gradle file
dependencies {
...
implementation 'com.azerion:bluestack-mediation-gma:4.4.0.0'
...
}

In-App Bidding

To include the BlueStack In-App Bidding mediation adapter, add the Maven repository address and Gradle dependency below to your app-level build.gradle file

repositories {
google()
mavenCentral()
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
}

dependencies {
...
implementation 'com.azerion:bluestack-mediation-bidding:4.4.0.0'
...
}
info

In-App Bidding has a default dependency with Amazon and Smart Display SDK. So adding In-App Bidding will automatically include these two SDKs.

Equativ (previously Smart Ad Server)

To include the BlueStack Equativ / Smart Ad Server mediation adapter, add the Maven repository address and Gradle dependency below to your app-level build.gradle file

repositories {
google()
mavenCentral()
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
}

dependencies {
...
implementation 'com.azerion:bluestack-mediation-smartadserver:4.4.0.0'
...
}
attention

Make sure the adapter’s name or package name and version number are accurate. Otherwise, the adapter will not be recognized and you might get error or ads will not load.