Implementation of Google Adx
Describe the Google Adx implementation procedure for mediation setting of FullscreenInterstitial advertisement.
For implementation of the startup guide and FullscreenInterstitial advertisement, refer to the following implementation procedure.
Startup
Implementation of FullscreenInterstitial advertisement
Implementation procedure:
- Introducing libraries in Maven
- Manually install the library
- Writing the manifest file
Introducing libraries in Maven(recommended)
- Add the following to
allprojects>repositories
inProject>build.gradle
.
allprojects {
repositories {
google()
// GenieeSDK
maven {
url 'https://raw.github.com/geniee-ssp/Geniee-Android-SDK/master/repository'
}
}
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
- Add the following to
dependencies
ofModule>build.gradle
.
dependencies {
// Geniee
implementation 'jp.co.geniee.gnsfullscreeninterstitialadapter:GNSFullscreenInterstitialAdapter-GoogleAdx:4.3.0'
}
- Implementation example
- Project>build.gradle
allprojects {
repositories {
google()
jcenter()
// GenieeSDK
maven {
url 'https://raw.github.com/geniee-ssp/Geniee-Android-SDK/master/repository'
}
}
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
- Module>build.gradle
dependencies {
// Google SDK
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.1'
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
// Geniee
implementation 'jp.co.geniee.gnadsdk:GNAdSDK:8.5.1 // GenieeSDK
implementation 'jp.co.geniee.gnsfullscreeninterstitialadapter:GNSFullscreenInterstitialAdapter-GoogleAdx:4.3.0'
}
- Add Adx app ID
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="YOUR_APP_ID"/>
</application>
1
2
3
4
5
6
2
3
4
5
6