InlineAdaptive

data class InlineAdaptive(val availableWidth: Int? = null) : BannerAdSize

Inline adaptive banner. The container fills its parent width by default; height is determined by the server from the bid response (creative height).

Parameters

availableWidth

Optional rendered container width in dp. When omitted the container fills its parent (MATCH_PARENT). When provided the container is pinned to this width. It is recommended to pass availableWidth for adaptive bidding and set it to the same wMax used in your adaptive / flex-slot bid request, so the requested and rendered widths match.

Constructors

Link copied to clipboard
constructor(availableWidth: Int? = null)

Properties

Link copied to clipboard
val availableWidth: Int? = null