- Home /
Admob banner is not refreshing because of Show and Hide.
Hello,
My banner ads (from admob) are only shown in the GameScene, not in the others (IntroMenu, Shop). However, the banner does not refresh itself (even after playing something like 30 minutes) even with an automatic refresh time set on the admob banner configuration (60 seconds). I tested and if I dont make the "Show()" and "Hide()" calls the banner refreshes itself.
Anyone has any idea why this is happening or has spotted any good practice i'm skipping?
The calls I use:
Banner Instantiation and Loading
BannerView myBannerView = new BannerView(...);
myBannerView.LoadAd(...);
When starting the game
myBannerView.Show();
When the player dies and goes back to the menu
myBannerView.Hide();
ps.: I'm using GoogleMobileAds_3.1.2 plugin.
Your answer
![](https://koobas.hobune.stream/wayback/20220612102405im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to add Admob banner into Windows Phone project? 1 Answer
Displaying Admob's banner ad in game scene 0 Answers
Game crashes when calling RequestBanner() AdMob on iphone 6 0 Answers
Admob smartBanner height issue in iphone (ios v9.3) 0 Answers
Unity Game crash on load with Fatal Exception,Unity Game Crash on load with Fatal Exception 1 Answer