Implementation of InMobi

Describe the InMobi implementation procedure for mediation setting of RewardVide advertisement. For implementation of the startup guide and RewardVide advertisement, refer to the following implementation procedure.
Startup
Implementation of RewardVide advertisement

Implementation procedure:

  1. Introducing libraries in Maven
  2. Manually install the library
  3. Writing the manifest file

Introducing libraries in Maven(Recommend)

  1. Add the following to allprojects>repositories in Project>build.gradle.
allprojects {
    repositories {
        jcenter()
        google()    	
        // GenieeSDK
        maven { 
            url 'https://raw.github.com/geniee-ssp/Geniee-Android-SDK/master/repository' 
        }
    }
}
1
2
3
4
5
6
7
8
9
10
  1. Add the following to dependencies of Module>build.gradle.
dependencies {	
    // Geniee
    implementation 'jp.co.geniee.gnsrewardadapter:GNSRewardAdapter-InMobi:6.3.0'
    // Optional Google Play Services
    implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
}
  1. 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
  • 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.0' // GenieeSDK
    implementation 'jp.co.geniee.gnsrewardadapter:GNSRewardAdapter-InMobi-6.3.0'
}
Last Updated: 10/7/2021, 3:35:07 PM