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.*
In-App Bidding
repositories {
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
}
- For bluestack-sdk-core >= 6.0.0
- For bluestack-sdk-core >= 5.4.0
- For bluestack-sdk-core < 5.4.0
dependencies {
implementation 'com.azerion:bluestack-sdk-core:6.0.0'
implementation 'com.azerion:bluestack-mediation-bidding:6.0.0.0'
}
Note: In-App-Bidding has a default dependency with Smart Display SDK.
dependencies {
implementation 'com.azerion:bluestack-sdk-core:5.4.0'
implementation 'com.azerion:bluestack-mediation-bidding:5.4.0.0'
}
Note: In-App-Bidding has a default dependency with Smart Display SDK.
dependencies {
implementation 'com.azerion:bluestack-sdk-core:4.4.1'
implementation 'com.azerion:bluestack-mediation-bidding:4.4.1.0'
}
Note: In-App-Bidding has a default dependency with Amazon and Smart Display SDK. So adding In-App-Bidding will automatically include these two SDKs. For Criteo you will have to add the BlueStack Criteo mediation adapter dependency separately in your project.
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>
- For bluestack-sdk-core >= 6.0.0
- For bluestack-sdk-core >= 5.4.0
- For bluestack-sdk-core >= 5.1.4
- For bluestack-sdk-core < 5.1.4
dependencies {
implementation 'com.azerion:bluestack-mediation-google:6.0.0.0'
}
dependencies {
implementation 'com.azerion:bluestack-mediation-google:5.4.1.0'
}
dependencies {
implementation 'com.azerion:bluestack-mediation-google:5.3.0.1'
}
dependencies {
implementation 'com.azerion:bluestack-mediation-gma:4.4.0.0'
}
Equativ
repositories {
google()
mavenCentral()
maven { url 'https://packagecloud.io/smartadserver/android/maven2' }
}
- For bluestack-sdk-core >= 6.0.0
- For bluestack-sdk-core >= 5.1.4
- For bluestack-sdk-core < 5.1.4
dependencies {
implementation 'com.azerion:bluestack-mediation-equativ:6.0.0.0'
}
dependencies {
implementation 'com.azerion:bluestack-mediation-equativ:5.2.1.1'
}
dependencies {
implementation 'com.azerion:bluestack-mediation-smartadserver:4.4.1.0'
}
Supported Ad Networks
- For bluestack-sdk-core >= 6.0.0
- For bluestack-sdk-core >= 5.4.0
- For bluestack-sdk-core >= 5.1.4
- For bluestack-sdk-core < 5.1.4
| Ad Network | SDK Version | Adapter Version | Supported Ad Formats |
|---|---|---|---|
| 24.9.0 | 6.0.0.0 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads | |
| Equativ | 8.5.2 | 6.0.0.0 | Banner / MREC, Interstitial |
| BlueStack Bidding | N/A | 6.0.0.0 | Banner / MREC, Interstitial |
| Ad Network | SDK Version | Adapter Version | Supported Ad Formats |
|---|---|---|---|
| 24.9.0 | 5.4.1.0 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads | |
| Equativ | 8.5.2 | 5.2.1.1 | Banner / MREC, Interstitial |
| BlueStack Bidding | N/A | 5.4.0.0 | Banner / MREC, Interstitial |
| Ad Network | SDK Version | Adapter Version | Supported Ad Formats |
|---|---|---|---|
| 24.9.0 | 5.3.0.1 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads | |
| Amazon | 6.18.0 | (included in BlueStack Bidding) | Banner / MREC, Interstitial, Rewarded Ads |
| Equativ | 8.5.2 | 5.2.1.1 | Banner / MREC, Interstitial |
| BlueStack Bidding | N/A | 5.3.0.0 | Banner / MREC, Interstitial |
| Ad Network | SDK Version | Adapter Version | Supported Ad Formats |
|---|---|---|---|
| 23.4.0 | 4.4.0.0 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads | |
| Amazon | 6.18.0 | (included in BlueStack Bidding) | Banner / MREC, Interstitial, Rewarded Ads |
| Equativ | 7.24.0 | 4.4.1.0 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads |
| BlueStack Bidding | N/A | 4.4.1.0 | Banner / MREC, Interstitial, Rewarded Ads, Native Ads |
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.