Android
Prerequisites
- Minimum API Level 23 or above.
- Target API Level 33 or above.
compileSdkVersion
33 or above- Android Gradle plugin version 7.4.2 or above
- Gradle 7.5.1 or above.
- If you use Proguard, please refer to the documentation.
Add the repositories
Add the following repositories to your build.gradle
file.
mavenCentral()
maven { url "https://artifact.bytedance.com/repository/pangle" }
maven { url "https://android-sdk.is.com" }
maven { url "https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea" }
maven { url "https://artifactory.bidmachine.io/bidmachine" }
maven { url "https://ysonetwork.s3.eu-west-3.amazonaws.com/sdk/android" }
Import the SDK
Open your app-level build.gradle
and add the following dependency.
Standard Edition
implementation 'com.yodo1.mas:full:4.14.1'
Custom Ad Networks
tip
Please contact support for advice on which ad networks are safe to remove without impacting performance. AppLovin and Google AdMob are required and cannot be removed.
To add or remove ad networks you can include/exclude the following implementation definitions in build.gradle
.
# Core
implementation 'com.yodo1.mas:core:4.14.1'
implementation 'com.yodo1.mas:gplibrary:4.14.1'
# AppLovin
implementation 'com.yodo1.mas.mediation:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.applovin.adapters:admob:4.14.1'
# BidMachine
implementation 'com.yodo1.mas.mediation:bidmachine:4.14.1'
implementation 'com.yodo1.mas.mediation.bidmachine.adapters:applovin:4.14.1'
# Bigo Ads
implementation 'com.yodo1.mas.mediation:bigo:4.14.1'
implementation 'com.yodo1.mas.mediation.bigo.adapters:applovin:4.14.1'
# DT Exchange(Fyber)
implementation 'com.yodo1.mas.mediation:fyber:4.14.1'
implementation 'com.yodo1.mas.mediation.fyber.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.fyber.adapters:admob:4.14.1'
# Google AdMob
implementation 'com.yodo1.mas.mediation:admob:4.14.1'
implementation 'com.yodo1.mas.mediation.admob.adapters:applovin-admob:4.14.1'
implementation 'com.yodo1.mas.mediation.admob.adapters:applovin-ad-manager:4.14.1'
# ironSource
implementation 'com.yodo1.mas.mediation:ironsource:4.14.1'
implementation 'com.yodo1.mas.mediation.ironsource.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.ironsource.adapters:admob:4.14.1-beta.1'
# InMobi
implementation 'com.yodo1.mas.mediation:inmobi:4.14.1'
implementation 'com.yodo1.mas.mediation.inmobi.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.inmobi.adapters:admob:4.14.1'
# Liftoff Monetize(Vungle)
implementation 'com.yodo1.mas.mediation:vungle:4.14.1'
implementation 'com.yodo1.mas.mediation.vungle.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.vungle.adapters:admob:4.14.1'
# Meta Audience Network(Facebook)
implementation 'com.yodo1.mas.mediation:facebook:4.14.1'
implementation 'com.yodo1.mas.mediation.facebook.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.facebook.adapters:admob:4.14.1'
# Mintegral
implementation 'com.yodo1.mas.mediation:mintegral:4.14.1'
implementation 'com.yodo1.mas.mediation.mintegral.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.mintegral.adapters:admob:4.14.1'
# Moloco
implementation 'com.yodo1.mas.mediation:moloco:4.14.1'
implementation 'com.yodo1.mas.mediation.moloco.adapters:applovin:4.14.1'
# Pangle
implementation 'com.yodo1.mas.mediation:pangle:4.14.1'
implementation 'com.yodo1.mas.mediation.pangle.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.pangle.adapters:admob:4.14.1'
# TradPlus
implementation 'com.yodo1.mas.mediation:tradplus:4.14.1'
# Unity Ads
implementation 'com.yodo1.mas.mediation:unityads:4.14.1'
implementation 'com.yodo1.mas.mediation.unityads.adapters:applovin:4.14.1'
implementation 'com.yodo1.mas.mediation.unityads.adapters:admob:4.14.1'
# Yandex
implementation 'com.yodo1.mas.mediation:yandex:4.14.1'
implementation 'com.yodo1.mas.mediation.yandex.adapters:applovin:4.14.1'
# YSO Network
implementation 'com.yodo1.mas.mediation:yso:4.14.1'
implementation 'com.yodo1.mas.mediation.yso.adapters:applovin:4.14.1'
# Yodo1 Test Ads
implementation 'com.yodo1.mas.mediation:yodo1:4.14.1'