Implementation of CAReward
Describe the CAReward 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:
- Introducing libraries in Maven
 - Manually install the library
 - Writing the manifest file
 
Introducing libraries in Maven(Recommend)
Download Geniee Adapter SDK
- Download Geniee Android SDK from the following URL. Geniee-Android-SDK
 - For the necessary 
RewardVideo-Adnws-Android-SDKplease contact your sales representative. - If the 
libsfolder does not exist, create it as necessary. - Copy the following file of 
RewardVideo-Adnws-Android-SDKto thelibsfolder. - MediaSDK_ver_2_4_0.jar
 
Add the following to
allprojects>repositoriesinProject>build.gradle.
allprojects {
   repositories {        	
   	// GenieeSDK
   	maven { 
   		url 'https://raw.github.com/geniee-ssp/Geniee-Android-SDK/master/repository' 
   	}
   }
}
 2
3
4
5
6
7
8
- Add the following to 
dependenciesofModule>build.gradle. 
dependencies {	
    implementation fileTree(include: ['*.jar'], dir: 'libs')	
    // Geniee
    implementation 'jp.co.geniee.gnsrewardadapter:GNSRewardAdapter-CAReward:6.4.1'
}
- Implementation example
 
- Project>build.gradle
 
   allprojects {
   	repositories {
   		google()
   		jcenter()
   			
   		// GenieeSDK
   		maven { 
   			url 'https://raw.github.com/geniee-ssp/Geniee-Android-SDK/master/repository'
   		}
   	}
   }
   
 2
3
4
5
6
7
8
9
10
11
12
- Module>build.gradle
 
dependencies {	
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    // Google SDK
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.0-alpha7'
    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.gnsrewardadapter:GNSRewardAdapter-CAReward:6.4.1'
}
Manually install libraries
If you followed the Introducing libraries in Maven procedure, you do not need to do this step.
Manual introduction procedure here
Download Geniee Adapter SDK
Download Geniee Android SDK from the following URL.
Please check with your sales representative for Reward Video - Adnws - Android - SDK required formanually installing libraries.
Placing the Local Library
Unzip Geniee Android SDK.
Add GNSRewardAdapter to the project.
If the
libsfolder does not exist, create it as necessary.Copy the following files under the
GNSRewardAdapterfolder to thelibsfolder.
- GNSRewardAdapter-CAReward-6.4.1.jarCopy the following files under the
RewardVideo-Adnws-Android-SDKfolder to thelibsfolder.
- MediaSDK_ver_2_4_0.jarAdd it to
dependenciesofModule/build.gradle.dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') }1
2
3
Description of manifest file
Write the necessary information in the manifest file AndroidManifest.xml.
If you followed the procedure
Installing libraries with Maven, you do not need to perform this step.Manual introduction procedure here
Describe the activity information used by the SDK in
<application>in the manifest file.<!-- CAReward--> <activity android:name="jp.co.mediasdk.mscore.ui.videoAd.MSGVAActivity" android:configChanges="orientation|keyboardHidden|screenSize" android:hardwareAccelerated="true" />1
2
3
4
5