Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Admob Interstitial Are Showing After App Close

Tags:

android

admob

I am just implementing admob on my one android application.I am requesting to admob for show interstitial ads on app menu screen .But on that time if i exit from the application & admob request is not received yet due to slow internet connection.So admob are showing interstitial after some time on my phone screen. Is this google ad policy violation ?? .Because admob not give any method for stop interstitial ads (Google Product) if it is not received yet.

like image 499
Rishabh Agrawal Avatar asked Jan 30 '26 00:01

Rishabh Agrawal


1 Answers

You can call finish on the activity, if possible.

If not, why not set a flag using onPause or onStop events, check this flag before calling show () on the interstitial.

like image 85
Udi Idan Avatar answered Feb 01 '26 16:02

Udi Idan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!