So, I’m stumped. I have my banner ad working but I don’t want it to display while the player is playing the game. I’ve tried destroying the ad, setting its visibility and removing the layout. I just can’t seem to get the ad to disappear. Here is the code that SHOULD work but doesn’t. Anybody have any luck getting banner ads to disappear?
AdView view = (AdView)ll.FindViewById(AdView.Id);
view.Pause();
view.Visibility = ViewStates.Gone;
view.Destroy();