Package 

Class Banner


  • 
    public final class Banner
    
                        

    This object represents the most general type of impression. Although the term “banner” may have very specific meaning in other contexts, here it can be many things including a simple static image, an expandable ad unit, or even in-banner video

    • Constructor Detail

      • Banner

        Banner()
    • Method Detail

      • getFormats

         final Array<Format> getFormats()

        Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.

      • setFormats

         final Unit setFormats(@SerializedName(value = format) Array<Format> formats)

        Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.

      • getWidth

         final Integer getWidth()

        Exact width in device independent pixels (DIPS); recommended if no format objects are specified.

      • setWidth

         final Unit setWidth(@SerializedName(value = w) Integer width)

        Exact width in device independent pixels (DIPS); recommended if no format objects are specified.

      • getHeight

         final Integer getHeight()

        Exact height in device independent pixels (DIPS); recommended if no format objects are specified.

      • setHeight

         final Unit setHeight(@SerializedName(value = h) Integer height)

        Exact height in device independent pixels (DIPS); recommended if no format objects are specified.

      • getMines

         final Array<String> getMines()

        Content MIME types supported. Popular MIME types may include “application/x-shockwave-flash”, “image/jpg”, and “image/gif”.

      • setMines

         final Unit setMines(@SerializedName(value = mines) Array<String> mines)

        Content MIME types supported. Popular MIME types may include “application/x-shockwave-flash”, “image/jpg”, and “image/gif”.

      • getTopFrame

         final Integer getTopFrame()

        Indicates if the banner is in the top frame as opposed to an iframe, where 0 = no, 1 = yes.

      • setTopFrame

         final Unit setTopFrame(@SerializedName(value = topframe) Integer topFrame)

        Indicates if the banner is in the top frame as opposed to an iframe, where 0 = no, 1 = yes.

      • setApis

         final Unit setApis(@SerializedName(value = api) Array<ApiFramework> apis)

        List of supported ApiFramework for this impression. If an API is not explicitly listed, it is assumed not to be supported.

      • getExtension

         final Object getExtension()

        Placeholder for exchange-specific extensions to OpenRTB.

      • setExtension

         final Unit setExtension(@SerializedName(value = ext) Object extension)

        Placeholder for exchange-specific extensions to OpenRTB.