- Home /
 
OnAdClosed Admob InterstitialAd Delay
So the problem is as the title describes : I've got an interstitial video ad played in my mobile game(using Admob). I want to load some new scene when the ad is closed. The problem is that a delay of 2-3 seconds occurs after player closed an ad(I checked it, it's not like scene is loading 2-3s, it's a delay from an ad). So it's like :
close ad -> wait 2-3s -> OnAdClosed()
instead of
close ad -> OnAdClosed()
That's a big issue and I can't find any answer why is that happening. People ask questions in the web here and there, so I decided to create a post also here.
Other posts:
https://github.com/googleads/googleads-mobile-android-examples/issues/147
https://groups.google.com/g/google-admob-ads-sdk/c/eW7-7N9e6UA
https://groups.google.com/g/google-admob-ads-sdk/c/GsJtshM_76c/m/AfhYcznCBQAJ
Posts have been created recently (2019/2020, some even one month ago) so I think it's still a problem...
If you use OnAdClosed for reward video, does the same delay happen? I also wrestled with Admod's callback and its being not in sync, not working as intended.
Another way is to load the scene on OnAdLoaded and hope that the ads will show up instantly, and when user close the ads, the new scene will be ready. However, sometimes the ads will not show instantly and user will see the new scene first, and then the ads will popup, which is horrible also.
I've not used rewarded videos yet, so I don't know how it works with it. The solution you propose seems to be unpredictable - a little bit like a lottery. It's not that bad, because you can freeze your game and then resume it when OnAdClosed() is called, but still then player will see that for 2-3s nothing is happening in the game - it would look pretty weird...
Your answer