-
public class InterstitialAdUnit extends BannerBaseAdUnit
Original API interstitial ad unit.
-
-
Constructor Summary
Constructors Constructor Description InterstitialAdUnit(String configId)Default constructor. InterstitialAdUnit(String configId, int minWidthPerc, int minHeightPerc)Constructor with min percentage width and height. InterstitialAdUnit(String configId, EnumSet<AdUnitFormat> adUnitFormats)Constructor for multi-format request.
-
Method Summary
Modifier and Type Method Description voidsetMinSizePercentage(@IntRange(from = 0, to = 100) int width, @IntRange(from = 0, to = 100) int height)voidactivateInterstitialPrebidImpressionTracker()Applies the interstitial native visibility tracker for tracking `burl` url. -
Methods inherited from class org.prebid.mobile.BannerBaseAdUnit
getBannerParameters, getVideoParameters, setBannerParameters, setVideoParameters -
Methods inherited from class org.prebid.mobile.AdUnit
activatePrebidImpressionTracker, destroy, fetchDemand, fetchDemand, getConfiguration, getGlobalOrtbConfig, getGpid, getImpOrtbConfig, getPbAdSlot, resumeAutoRefresh, setAutoRefreshInterval, setGlobalOrtbConfig, setGpid, setImpOrtbConfig, setPbAdSlot, stopAutoRefresh -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InterstitialAdUnit
InterstitialAdUnit(String configId)
Default constructor.
-
InterstitialAdUnit
InterstitialAdUnit(String configId, int minWidthPerc, int minHeightPerc)
Constructor with min percentage width and height.
-
InterstitialAdUnit
InterstitialAdUnit(String configId, EnumSet<AdUnitFormat> adUnitFormats)
Constructor for multi-format request.- Parameters:
adUnitFormats- for example `EnumSet.of(AdUnitFormat.BANNER, AdUnitFormat.
-
-
Method Detail
-
setMinSizePercentage
void setMinSizePercentage(@IntRange(from = 0, to = 100) int width, @IntRange(from = 0, to = 100) int height)
-
activateInterstitialPrebidImpressionTracker
void activateInterstitialPrebidImpressionTracker()
Applies the interstitial native visibility tracker for tracking `burl` url.
-
-
-
-