Aller au contenu principal

Integration Requirements

Choose your platform and the demand sources you want, and we'll show the exact dependencies, versions and requirements to add. We default to the latest release — pick the SDK version you are on to get the matching adapter releases.

1. Choose your integration

2. Which version are you on?

Pick the Android SDK version your app uses. Adapters are matched to the highest release that supports it.

3. Select demand sources

We recommend including every adapter so the SDK can serve from all available demand. Untick one only if you have a specific reason not to ship it.

4. Requirements

RequirementMinimum
Android5.0 (API level 21) or higher
compileSdkVersion31 or higher
Android Studio4.0 or higher

5. Dependencies & versions

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

dependencies {
implementation 'com.azerion:bluestack-sdk-core:6.0.7'
implementation 'com.azerion:bluestack-mediation-bidding:6.0.6.1'
implementation 'com.azerion:bluestack-mediation-google:6.0.0.2'
implementation 'com.azerion:bluestack-mediation-equativ:6.0.0.3'
}
Android ProGuard / R8

If you enable code shrinking and hit NoSuchMethodException or AdapterNotFoundError errors referencing com.azerion.bluestack.mediation.*, add this keep rule to your ProGuard configuration:

-keep public class com.azerion.bluestack.mediation.** { *; }