setAdViewGroup
Deprecated
Use `Player.ads.setViewGroup(adViewGroup)` instead.
Replace with
ads.setViewGroup(adViewGroup)Content copied to clipboard
Sets the ViewGroup in which the ad and the ad UI should be created.
Persists across playback sessions.