setAdViewGroup

abstract fun setAdViewGroup(adViewGroup: ViewGroup?)

Deprecated

Use `Player.ads.setViewGroup(adViewGroup)` instead.

Replace with

ads.setViewGroup(adViewGroup)

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

Persists across playback sessions.