Class BannerAdUnit


public class BannerAdUnit extends BannerBaseAdUnit
  • Constructor Details

    • BannerAdUnit

      public BannerAdUnit(String configId, int width, int height)
    • BannerAdUnit

      public BannerAdUnit(String configId, int width, int height, EnumSet<AdUnitFormat> adUnitFormats)
      Constructor for multi-format or video banner request.
      Parameters:
      adUnitFormats -

      for multi-format request `EnumSet.of(AdUnitFormat.DISPLAY, AdUnitFormat.VIDEO);`

      for video banner `EnumSet.of(AdUnitFormat.VIDEO);`

  • Method Details