Skip to main content
Version: 6.x.x

Android Supported Networks

BlueStack's mediation feature enables you to deliver advertisements to your app from various sources, including BlueStack itself and third-party ad networks. This section provides guidance on integrating mediation partner SDKs through BlueStack's third-party SDK adapters.

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

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

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

Google Mobile Ads​

To include the BlueStack Google Mobile Ads mediation adapter dependency,

  • Add your Google App ID to your app's AndroidManifest.xml file
AndroidManifest.xml
<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
build.gradle
repositories {
google()
mavenCentral()
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
maven { url 'https://artifactory.bidmachine.io/bidmachine' }
}

dependencies {
implementation 'com.azerion:bluestack-mediation-google:6.1.0.0'
}

Equativ (previously Smart Ad Server)​

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

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

dependencies {
implementation 'com.azerion:bluestack-mediation-equativ:6.0.0.3'
}

Mediation Adapter Compatibility Matrix​

Ad NetworkSDK VersionAdapter VersionSupported Ad Formats
Google24.9.06.1.0.0Banner / MREC, Interstitial, Rewarded Ads
Equativ8.5.26.0.0.3Banner / MREC, Interstitial
BlueStack BiddingN/A6.0.6.1Banner / MREC, Interstitial
note
  • Ensure all dependencies are included as outlined in each network's integration guide.
  • Ad formats may require additional configurations or testing to confirm functionality.
warning
-keep public class com.azerion.bluestack.mediation.** { *; }

Please add the above rule to your proguard file when you encounter errors similar to what you see here:

java.lang.NoSuchMethodException: com.azerion.bluestack.mediation.*
Exception com.azerion.bluestack.error.AdapterNotFoundError: com.azerion.bluestack.mediation.*