Aller au contenu principal
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.

info

Recommended: include all mediation adapters by default. Omit an adapter only if you have a specific reason not to ship that demand source. The Get Started page shows the full bundle; the per-partner sections below cover details and opt-in extras.

attention
-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.*
remarque
  • Ensure all dependencies are included as outlined in each network’s integration guide.
  • Ad formats may require additional configurations or testing to confirm functionality.

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' }
}

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

In-App-Bidding has a default dependency with the Equativ SDK.

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' }
}

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

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' }
}

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

Mediation Adapter Compatibility Matrix

Ad NetworkSDK VersionAdapter VersionSupported Ad Formats
Google24.9.06.0.0.1Banner / MREC, Interstitial, Rewarded Ads
Equativ8.5.26.0.0.2Banner / MREC, Interstitial
BlueStack BiddingN/A6.0.6.0Banner / MREC, Interstitial