CompanionAdContainer

data class CompanionAdContainer(val container: ViewGroup, val width: Int, val height: Int)

Constructors

Link copied to clipboard
constructor(container: ViewGroup, width: Int, height: Int)

Properties

Link copied to clipboard

The ViewGroup where companion ads shall be displayed.

Link copied to clipboard
val height: Int

The height of the companion ad that shall be displayed. Note: The IMA SDK requires the size of the CompanionAdContainer to explicitly match the desired companion ad.

Link copied to clipboard
val width: Int

The width of the companion ad that shall be displayed. Note: The IMA SDK requires the size of the CompanionAdContainer to explicitly match the desired companion ad.