Package com.pubmatic.sdk.openwrap.core
Interface POBBaseAd
-
- All Implemented Interfaces:
public interface POBBaseAdBase interface defining the methods to be implemented by the Ad classes such as POBBannerView, POBInterstitial, POBRewardedAd etc
-
-
Method Summary
Modifier and Type Method Description abstract voidloadAd()Initiate the loading of an Ad abstract POBImpressiongetImpression()Returns an instance of POBImpression which gets created internally. abstract POBRequestgetAdRequest()Returns an instance of POBRequest, required for setting targeting parameters. abstract voiddestroy()Invoke this method when your activity/fragment is about to destroy. -
-
Method Detail
-
loadAd
abstract void loadAd()
Initiate the loading of an Ad
-
getImpression
@Nullable() abstract POBImpression getImpression()
Returns an instance of POBImpression which gets created internally. POBImpression provides the APIs to set PubMatic zone id and other custom parameters.
- Returns:
Returns an instance of POBImpression.
-
getAdRequest
@Nullable() abstract POBRequest getAdRequest()
Returns an instance of POBRequest, required for setting targeting parameters.
- Returns:
Instance of POBRequest
-
destroy
abstract void destroy()
Invoke this method when your activity/fragment is about to destroy. It cleans the resources.
-
-
-
-