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.
-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.*
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 sections below cover per-network details and opt-in extras.
In-App Bidding
repositories {
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
}
dependencies {
implementation 'com.azerion:bluestack-sdk-core:6.0.6'
implementation 'com.azerion:bluestack-mediation-bidding:6.0.6.0'
}
Note: In-App-Bidding has a default dependency with Smart Display SDK.
Google Mobile Ads
For Google you need to 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>
dependencies {
implementation 'com.azerion:bluestack-mediation-google:6.0.0.1'
}
Equativ
repositories {
google()
mavenCentral()
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
}
dependencies {
implementation 'com.azerion:bluestack-mediation-equativ:6.0.0.2'
}
Supported Ad Networks
| Ad Network | SDK Version | Adapter Version | Supported Ad Formats |
|---|---|---|---|
24.9.0 | 6.0.0.1 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads | |
| Equativ | 8.5.2 | 6.0.0.2 | Banner / MREC, Interstitial |
| BlueStack Bidding | N/A | 6.0.6.0 | Banner / MREC, Interstitial |
Notes
- Ensure all dependencies are included as outlined in each network’s integration guide.
- Ad formats may require additional configurations or testing to confirm functionality.