How to use OBH[ENG] - bidmad/Bidmad-Android GitHub Wiki

How to use OBH

OBH is a Helper library for using Admob OpenBidding, so please follow the steps below to use it. (OBH is only support to Banner / Interstitial / Reward / RewardInterstitial / AppOpen)

1. Minimum required BidmadSDK version

  • BidmadSDK 1.14.2 or higher

2. OBH library declaration

    implementation "ad.helper.openbidding:admob-obh:1.3.1"

3. Import of OBH Class

OBH uses the same class name as Banner / Interstitial / Reward / RewardInterstitial / AppOpen used in BidmadSDK. Therefore, if you have already implemented the function using BidmadSDK, you can complete the work by modifying the class package path of the imported BidmadSDK to the class package path of OBH.

In the case of applying BidmadSDK at the same time as OBH, please check that the OBH Class Package path has been declared when importing the class.

*OBH and BidmadSDK Class Package path comparison

import com.adop.sdk.adview.BaseAdView; // BidmadSDK Banner Class Package Path
import ad.helper.openbidding.adview.BaseAdView; // OBH Banner Class Package Path

import com.adop.sdk.interstitial.BaseInterstitial; // BidmadSDK Interstitial Class Package Path
import ad.helper.openbidding.interstitial.BaseInterstitial; // OBH Interstitial Class Package Path

import com.adop.sdk.reward.BaseReward; // BidmadSDK Reward Class Package Path
import ad.helper.openbidding.reward.BaseReward; // OBH Reward Class Package Path

import com.adop.sdk.rewardinterstitial.BaseRewardInterstitial; // BidmadSDK RewardInterstitial Class Package Path
import ad.helper.openbidding.rewardinterstitial.BaseRewardInterstitial; // BidmadSDK RewardInterstitial Class Package Path

import com.adop.sdk.appopen.BaseAppOpen; // BidmadSDK AppOpen Class Package Path
import ad.helper.openbidding.appopen.BaseAppOpen; // BidmadSDK AppOpen Class Package Path
import com.adop.sdk.appopen.BaseAppOpenManager; // BidmadSDK AppOpenManager Class Package Path
import ad.helper.openbidding.appopen.BaseAppOpenManager; // BidmadSDK AppOpenManager Class Package Path

4. How to call an ad

OBH's ad calling method is the same as BidmadSDK, so refer to here for how to use each Ad Type.

5. Limited use interface

When using OBH, some interfaces that were supported by BidmadSDK are not supported.

*Not supported Interface list

Class Method
BaseAdView setHouseImg(int)
BaseAdView setHouseImg(byte)
BaseAdView setHouseImgPreload(boolean)