Banner

@Serializable
class Banner(var w: Int, var h: Int, var format: Array<Format>? = null, var bidfloor: Float = 0.0f, var battr: ByteArray? = null, var pos: Byte = 0, var api: ByteArray? = null, var vcm: Byte? = null)

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 (refer to Video for generalized and full featured video ad units). An array of Banner objects can also appear within the Video to describe optional companion ads defined in the VAST specification. The presence of a Banner as a subordinate of the Impression object indicates that this impression is offered as a banner type impression. At the publisher’s discretion, that same impression may also be offered as video, audio, and/or native by also including as Impression subordinates objects of those types. However, any given bid for the impression must conform to one of the offered types.

OpenRTB Section 3.2.6

Constructors

Link copied to clipboard
constructor(w: Int, h: Int, format: Array<Format>? = null, bidfloor: Float = 0.0f, battr: ByteArray? = null, pos: Byte = 0, api: ByteArray? = null, vcm: Byte? = null)

Properties

Link copied to clipboard

Set of supported Api frameworks for this banner impression. If an Api is not explicitly listed, it is assumed not to be supported.

Link copied to clipboard

Set of creative attributes to block.

Link copied to clipboard

Minimum bid for this banner impression expressed in CPM.

Link copied to clipboard

Array of Format objects representing the banner sizes permitted.

Link copied to clipboard

Exact height in device independent pixels (DIPS).

Link copied to clipboard

Ad position on screen.

Link copied to clipboard

The type of companion ad if used in a Video object. (0 - Concurrent, 1 - End Card)

Link copied to clipboard

Exact width in device independent pixels (DIPS).