setViewGroup

abstract fun setViewGroup(adViewGroup: ViewGroup?)

Sets the ViewGroup in which the ad and the ad UI should be created.

Persists across playback sessions.

This is also the container pause ads are rendered into. A pause ad is only presented while an ad ViewGroup is set, and its bounds are what the best fitting creative is selected against.