V6.4.4-Support
- Support Tencent Ads:Interstitial Template2.0, Rewarded Video Template2.0, Splash ZoomOut Ads
- Support Pangle China: Splash ZoomOut Ads
- Support Kuaishou: Interstitial
ProGuard Configuration#
# If Helium is aggregated
-keep class org.greenrobot.** { *; }
# If Youdao is aggregated
-libraryjars libs/youdaosdk_4.1.6.aar
-libraryjars libs/msa_mdid_1.0.13.aar
TradPlus Maven#
repositories {
google ()
mavenCentral () // TradPlus
jcenter ()
}
dependencies {
//TradPlus
implementation 'com.tradplusad:tradplus-sdk:6.4.4'
implementation 'com.tradplusad:tradplus-core:6.4.4'
implementation 'com.tradplusad:tradplus:6.4.41'
}
Outside the Chinese Mainland#
repositories {
google ()
mavenCentral ()
jcenter ()
//Adcolony
maven { url "https://adcolony.bintray.com/AdColony" }
//IronSource
maven { url 'https://android-sdk.is.com/' }
//Mopub
maven { url "https://s3.amazonaws.com/moat-sdk-builds" }
//Tapjoy
maven {
name "Tapjoy's maven repo"
url "https://sdk.tapjoy.com/"
}
//Fyber
maven { url "https://fyber.bintray.com/marketplace"}
//Maio
maven{ url "https://imobile-maio.github.io/maven" }
//Ogury
maven { url 'https://maven.ogury.co' }
//Pangle
maven {
url 'https://artifact.bytedance.com/repository/pangle'
}
flatDir {
dirs 'libs'
}
}
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
dependencies {
//GDPR
// implementation 'com.google.android.ads.consent:consent-library:1.0.6'
//GDPR
implementation ('com.google.android.ads.consent:consent-library:1.0.6'){
exclude module: 'gson'
}
//noinspection GradleCompatible
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
//TradPlus
implementation 'com.tradplusad:tradplus-sdk:6.4.4'
implementation 'com.tradplusad:tradplus-core:6.4.4'
implementation 'com.tradplusad:tradplus:6.4.41'
//Admob
implementation 'com.google.android.gms:play-services-ads:17.2.1'
implementation 'com.tradplusad:tradplus-google:2.6.4.4'
//Facebook
implementation 'com.facebook.android:audience-network-sdk:6.4.0'
implementation 'com.tradplusad:tradplus-facebook:1.6.4.4'
//MoPub
implementation 'com.tradplusad:tradplus-mopub:3.6.4.4'
//For banners
implementation ('com.mopub:mopub-sdk-banner:5.8.0') {
transitive = true
}
//For interstitials
implementation ('com.mopub:mopub-sdk-interstitial:5.8.0') {
transitive = true
}
//For rewarded videos. This will automatically also include interstitials
implementation ('com.mopub:mopub-sdk-rewardedvideo:5.8.0') {
transitive = true
}
//For native static (images).
implementation ('com.mopub:mopub-sdk-native-static:5.8.0') {
transitive = true
}
//For native video. This will automatically also include native static
implementation ('com.mopub:mopub-sdk-native-video:5.8.0') {
transitive = true
}
//AppLovin
implementation 'com.applovin:applovin-sdk:10.1.2'
implementation 'com.tradplusad:tradplus-applovin:9.6.4.4'
//IronSource
implementation 'com.ironsource.sdk:mediationsdk:7.1.5.1'
implementation 'com.tradplusad:tradplus-ironsource:10.6.4.4'
//Tapjoy
implementation 'com.tapjoy:tapjoy-android-sdk:12.8.0@aar'
implementation 'com.tradplusad:tradplus-tapjoy:6.6.4.4'
//Adcolony
implementation 'com.adcolony:sdk:4.5.0'
implementation 'com.tradplusad:tradplus-adcolony:4.6.4.4'
//Vungle 6.5.3
implementation 'com.tradplusad:tradplus-vungle:7.6.4.4'
implementation 'com.google.android.gms:play-services-basement:16.0.0'
implementation 'com.google.android.gms:play-services-ads-identifier:16.0.0'
//Required Third-party Dependencies
implementation files('libs/converter-gson-2.5.0.jar')
implementation files('libs/gson-2.8.2.jar')
implementation files('libs/logging-interceptor-3.12.0.jar')
implementation files('libs/okhttp-3.12.0.jar')
implementation files('libs/okio-1.15.0.jar')
implementation files('libs/retrofit-2.5.0.jar')
//Pangle
implementation 'com.pangle.global:ads-sdk:3.5.0.5'
implementation 'com.tradplusad:tradplus-pangle:19.6.4.4'
//UnityAds
implementation 'com.tradplusad:tradplus-unity:5.6.4.4'
implementation(name: 'unity-ads-3.7.1', ext: 'aar')
//fyber
implementation 'com.fyber.vamp:core-sdk:7.7.4'
implementation 'com.fyber.vamp:video-kit:7.7.4'
implementation 'com.fyber.vamp:mraid-kit:7.7.4'
implementation 'com.google.android.gms:play-services-ads-identifier:16.0.0'
implementation 'com.tradplusad:tradplus-fyber:24.6.4.4'
//Maio
implementation 'com.google.android.gms:play-services-ads:17.2.1'
implementation 'com.tradplusad:tradplus-maio:31.6.4.4'
implementation(name: 'maio_1.1.13', ext: 'aar')
//Ogury
implementation 'co.ogury:ogury-sdk:5.0.5'
implementation 'com.tradplusad:tradplus-ogury:34.6.4.4'
//Kidzo
implementation 'com.tradplusad:tradplus-kidoz:37.6.4.4'
implementation 'org.greenrobot:eventbus:3.2.0'
implementation 'com.kidoz.sdk:KidozSDK:8.9.0@aar'
implementation 'com.android.support:support-v4:28.0.0'
}
```
---
#### **The Chinese Mainland**
```groovy
repositories {
google ()
mavenCentral () // TradPlus
jcenter ()
//Joomob
maven {
url "http://nexus.deemob.com/repository/maven-public/"
}
flatDir {
dirs 'libs'
}
}
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
dependencies {
//GDPR
// implementation 'com.google.android.ads.consent:consent-library:1.0.6'
//GDPR
implementation ('com.google.android.ads.consent:consent-library:1.0.6'){
exclude module: 'gson'
}
//noinspection GradleCompatible
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
//TradPlus
implementation 'com.tradplusad:tradplus-sdk:6.4.4'
implementation 'com.tradplusad:tradplus-core:6.4.4'
implementation 'com.tradplusad:tradplus:6.4.41'
//Admob
implementation 'com.google.android.gms:play-services-ads:17.2.1'
implementation 'com.tradplusad:tradplus-google:2.6.4.4'
//Toutiao
implementation 'com.tradplusad:tradplus-toutiao:17.6.4.41'
implementation(name: 'open_ad_sdk_cn_v3.6.1.0', ext: 'aar')
//Kuaishou
implementation 'com.tradplusad:tradplus-kwad:20.6.4.4'
implementation(name: 'kssdk-ad-3.3.9', ext: 'aar')
//Sigmob
implementation 'com.tradplusad:tradplus-sigmob:21.6.4.4'
implementation(name: 'windAd-2.21.0', ext: 'aar')
//Youdao
implementation 'com.tradplusad:tradplus-youdao:25.6.4.4'
implementation(name: 'youdaosdk_4.1.6', ext: 'aar')
implementation(name: 'msa_mdid_1.0.13', ext: 'aar')
//Tencent GDT
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.6.5.2@aar'
implementation 'com.tradplusad:tradplus-txadnet:16.6.4.41'
implementation(name: 'GDTSDK.unionNormal.4.351.1221', ext: 'aar')
//Joomob
implementation 'com.joomob.android.sdk:common:1.0.9.0'
implementation 'com.tradplusad:tradplus-joomob:35.6.4.4'
}
Cross Promotion#
implementation 'com.tradplusad:tradplus-crosspromotion:27.6.4.4'
Need to add this,if you use Cross Promotion in China
implementation 'com.tradplusad:tradplus-china_plugin:6.4.4'