public static interface InterstitialAd.InterstitialAdLoadConfigBuilder extends Ad.LoadConfigBuilder
| Modifier and Type | Method and Description |
|---|---|
InterstitialAd.InterstitialLoadAdConfig |
build()
Builds a
InterstitialAd.InterstitialLoadAdConfig that can be used to load an ad. |
InterstitialAd.InterstitialAdLoadConfigBuilder |
withAdCompanionView(boolean hasCompanionView)
Flag the existence of a companion view
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withAdListener(InterstitialAdListener adListener)
Sets an InterstitialAdListener to be notified on events in control lifecycle.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withBid(java.lang.String bidPayload)
Allow to loads an ad from the payload supplied with a bid.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withCacheFlags(java.util.EnumSet<CacheFlag> cacheFlags)
This method allows to set pre-caching for the ad.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withRewardData(RewardData rewardData)
Specifies RewardData for the ad.
|
InterstitialAd.InterstitialAdLoadConfigBuilder |
withRewardedAdListener(RewardedAdListener rewardedAdListener)
Sets a RewardedAdListener to be notified on if user receives a reward.
|
InterstitialAd.InterstitialAdLoadConfigBuilder withAdListener(InterstitialAdListener adListener)
adListener - the listenerInterstitialAd.InterstitialAdLoadConfigBuilder withRewardedAdListener(RewardedAdListener rewardedAdListener)
rewardedAdListener - the listenerInterstitialAd.InterstitialAdLoadConfigBuilder withRewardData(RewardData rewardData)
rewardData - reward data for the ad.InterstitialAd.InterstitialAdLoadConfigBuilderInterstitialAd.InterstitialAdLoadConfigBuilder withBid(java.lang.String bidPayload)
withBid in interface Ad.LoadConfigBuilderbidPayload - The payload supplied with the bidInterstitialAd.InterstitialAdLoadConfigBuilderInterstitialAd.InterstitialAdLoadConfigBuilder withCacheFlags(java.util.EnumSet<CacheFlag> cacheFlags)
cacheFlags - pre-cache options for the ad assets.InterstitialAd.InterstitialAdLoadConfigBuilderInterstitialAd.InterstitialAdLoadConfigBuilder withAdCompanionView(boolean hasCompanionView)
hasCompanionView - the flag that notifies the existence of a companion viewInterstitialAd.InterstitialLoadAdConfig build()
InterstitialAd.InterstitialLoadAdConfig that can be used to load an ad.build in interface Ad.LoadConfigBuilder