Package 

Class BaseInterstitialAdUnit

    • Method Detail

      • loadAd

         void loadAd()

        Executes ad loading if no request is running.

      • show

         void show()

        Executes interstitial display if auction winner is defined.

      • setImpOrtbConfig

         void setImpOrtbConfig(@Nullable() String ortbConfig)

        Sets imp level OpenRTB config JSON string that will be merged with the original imp object in the bid request.Expected format: {@code "{"new_field": "value"}"}.

        Parameters:
        ortbConfig - JSON config string.
      • setGlobalOrtbConfig

         void setGlobalOrtbConfig(@Nullable() String ortbConfig)

        Sets the global OpenRTB configuration string for the ad unit. It takes precedence over `Targeting.setGlobalOrtbConfig`.Expected format: {@code "{"new_field": "value"}"}.

        Parameters:
        ortbConfig - The global OpenRTB JSON configuration string to set.
      • setSkipDelay

         void setSkipDelay(int secondsDelay)

        Sets delay in seconds to show skip or close button.

      • setSkipButtonArea

         void setSkipButtonArea(@FloatRange(from = 0, to = 1.0) double buttonArea)

        Sets skip button percentage size in range from 0.05 to 1.If value less than 0.05, size will be default.

      • setSkipButtonPosition

         void setSkipButtonPosition(Position skipButtonPosition)

        Sets skip button position on the screen. Suitable values TOP_LEFT and TOP_RIGHT.Default value TOP_RIGHT.

      • setCloseButtonArea

         void setCloseButtonArea(@FloatRange(from = 0, to = 1.0) double closeButtonArea)

        Sets close button percentage size in range from 0.05 to 1.If value less than 0.05, size will be default.

      • setCloseButtonPosition

         void setCloseButtonPosition(@Nullable() Position closeButtonPosition)

        Sets close button position on the screen. Suitable values TOP_LEFT and TOP_RIGHT.Default value TOP_RIGHT.

      • destroy

         void destroy()

        Cleans up resources when destroyed.