Class MediationInterstitialAdUnit

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final void fetchDemand(OnFetchCompleteListener listener) Loads ad and applies mediation delegate.
      void setMinSizePercentage(int width, int height) Sets min width and height in percentage.
      • Methods inherited from class org.prebid.mobile.api.mediation.MediationBaseFullScreenAdUnit

        setCloseButtonArea, setCloseButtonPosition, setIsMuted, setIsSoundButtonVisible, setMaxVideoDuration, setSkipButtonArea, setSkipButtonPosition, setSkipDelay
      • Methods inherited from class org.prebid.mobile.api.mediation.MediationBaseAdUnit

        destroy, getGlobalOrtbConfig, getImpOrtbConfig, getPbAdSlot, setGlobalOrtbConfig, setImpOrtbConfig, setPbAdSlot
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediationInterstitialAdUnit

        MediationInterstitialAdUnit(Context context, String configId, AdSize minSizePercentage, PrebidMediationDelegate mediationDelegate)

        Constructor to fetch demand for a display interstitial ad with specified minHeightPercentage and minWidthPercentage

      • MediationInterstitialAdUnit

        MediationInterstitialAdUnit(Context context, String configId, EnumSet<AdUnitFormat> adUnitFormats, PrebidMediationDelegate mediationDelegate)

        Constructor to fetch demand for either display or video interstitial ads

    • Method Detail

      • fetchDemand

         final void fetchDemand(OnFetchCompleteListener listener)

        Loads ad and applies mediation delegate.

        Parameters:
        listener - callback when operation is completed (success or fail)
      • setMinSizePercentage

         void setMinSizePercentage(int width, int height)

        Sets min width and height in percentage. Range from 0 to 100.