Hive Adkit for ADOP: Android

Install

  1. Dowload and unzip the latest version of Hive AdKit file.
  2. Copy the AdKit.gradle file to the path of project app.
  3. Add the followings to the build.gradle file of your project app:

Setting

Add AdMobId, which is formatted in ca-app-pub-XXXXX~YYYYY, and ADOP APP_KEY to the AndroidManifest.xml file generated in the Android project. ADOP APP_KEY can be found in Account Management > My Information > Details after logging in to ADOP Insight.

 


How to Use

ADOP Proguard Settings

If you are using Proguard, add the ADOP Proguard Settings as below.

Test Ad Key in ADOP

Using a test ad key that ADOP issued is required.

Initialize Hive AdKit

Perform Hive AdKit initialization.

When performing a reset, if you are in the European and UK (EEA & UK) regions, a GDPR consent pop-up will be automatically displayed. In other regions, a reset is performed immediately.

  • If your game targets the EEA & UK region, make sure your GDPR consent pop-up is set up according to the GDPR messaging guide.

Delivering the user’s additional information can be included when a Hive Analytics log happens, and the data is passed in JSONObject type.

RewardVideo type

Rewardedvideo type ads reward a user who watched a video for a period of time, and is able to load one ad at a time.

Also, adPlacementInfo can be passed as a string that is set at the time of successful Load or exposing an ad through Show.

Interstitial type

Interstitial type ads use full-screen that cover the interface of game.

Also, adPlacementInfo can be passed as a string that is set at the time of successful Load or exposing an ad through Show.

Adaptive Banner type

Adaptive Banner type ads are a type of rolling banner that occupies a spot on screen. You can adjust the banner position with the BannerPosition or an yPos value.
If you provide yPos to adjust the banner position, the banner will be aligned at the bottom of the screen and then will move up by the yPos value you specify.

 

Also, adPlacementInfo can be passed as a string that is set at the time of successful Load or exposing an ad through Show.

AppOpen type ads

A type that exposes an ad when the app state changes from background to foreground.

Test Ads

It is important for advertiser not to be charged when test ad is clicked in development. If you click ads too much out of test mode, it is regarded as invalid action. Therefore, be aware not to be a target account to report. Refer to the Google Developers to use a test ad.

Uninstall

Restore the files set during installation to their original state.