Hive AdKit for ADOP: iOS

Setting

  1. Add the GADApplicationIdentifier key to the Xcode project’s Info.plist file, and add the AdMobId value (the format in caapppubXXXXX~YYYYY) as the value for the key. Also, enter ADOP APP_KEY as the value for the BidmadAppKey key. ADOP APP_KEY can be found in Account Management > My Information > Details after logging in to ADOP Insight.
    You can identify the settings from the UMP project when managing GDPR consent.
  2. On iOS 14 and higher, add SKAdNetwork list to the Info.plist file by referring to the Preparing for iOS 14 guide.
  3. Add the followings to the CocoaPods settings of your project app:
  4. Run the following to apply CocoaPod settings.

 


How to Use

Test Ad Key in ADOP

Using a test ad key that ADOP issued, not AdMob, 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.