CompanionAdContainer

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

Properties

Link copied to clipboard
val container: ViewGroup

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.