Class BannerAdUnit

    • 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
      void addAdditionalSize(int width, int height) Add additional size.
      void setAdPosition(AdPosition adPosition)
      • 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

      • BannerAdUnit

        BannerAdUnit(String configId, int width, int height)

        Default constructor for banner ad.

        Parameters:
        configId - config id
        width - ad width
        height - ad height
      • BannerAdUnit

        BannerAdUnit(String configId, int width, int height, EnumSet<AdUnitFormat> adUnitFormats)

        Constructor with ad formats.

        Parameters:
        configId - config id
        width - ad width
        height - ad height
        adUnitFormats - ad formats (AdUnitFormat).