Delay before show Interstitial ad

297 views
Skip to first unread message

Kieu Nguyen

unread,
Aug 3, 2022, 11:56:06 PM8/3/22
to Google Mobile Ads SDK Developers
I implement a delay that inserted after click next button and before the display of an interstitial ad. This delay the form of a loading or please wait screen.
The problem is, lots of document say do not show interstitial using Thread, Timer 
Is it valid if using  handler.postDelayed?

I try this in onStop() to prevent ad showing when users suspend app
handler.removeCallbacks(runnable)
handler.removeCallbacksAndMessages(null)

I've test and interstitial not showing, but in the debug logs still call the onAdShowedFullScreen()
I'm worried about that.

My question is: 
1. is the best way to implements loading... before show interstitial
2. is my code is correct and does not violate google ad mod policy

Thank you very much! 
InterstitialAd.txt

Mobile Ads SDK Forum Advisor

unread,
Aug 4, 2022, 8:50:54 AM8/4/22
to kimki...@gmail.com, google-adm...@googlegroups.com
Hi Kieu,

Thank you for reaching out to us. Let me do the best I can to assist you in this.

With regard to your concern, we would highly recommend to preload your interstitial ads instead of adding a loading delay, then showing it to your user. This will enable you to provide seamless user experience and it is also permissible implementation as per policy. To do this, don't call show() method on your interstitial Ad inside onAdLoaded() method. Instead, make a method to show interstitial Ad and call that method when you want it to show. You also need to add a listener to your Ad and make a new Ad request when you close your Interstitial Ad.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2d4hcA:ref

Kieu Nguyen

unread,
Aug 5, 2022, 3:43:04 AM8/5/22
to Google Mobile Ads SDK Developers
Hi Teejay,

Thank you for very quick response!
I had a pre-load as soon as the app open. Follow instructions on pre-loading closely. 
But want to add loading delay - not for pre-load - but for users are not surprised and have time to prepare that they will be  see ads soon
Btw, I've add handler.removeCallbacks(runnable) to onStop() and it's work now. 
Is it violate policy?

Thank you very much!
Message has been deleted

Mobile Ads SDK Forum Advisor

unread,
Aug 5, 2022, 12:32:44 PM8/5/22
to kimki...@gmail.com, google-adm...@googlegroups.com
Hi Kieu,

Thank you for getting back to us.

I've checked the Disallowed interstitial implementations and didn't find your use case violate the policy, so it's safe to confirm that you implementation is permissible.

Mobile Ads SDK Forum Advisor

unread,
Aug 5, 2022, 12:36:09 PM8/5/22
to john.m...@gmail.com, google-adm...@googlegroups.com
Hi John,

As per checking, it appears that you're reporting a different issue. The owner of this thread is asking if its permissible to add a loading delay before displaying an interstitial ad whereas your issue is specific to rewarded ad which close button stays greyed out until the entire ad has finished playing. With this, I would highly recommend to open up a new thread instead for better tracking of the issues. We'll be supporting you there.
Reply all
Reply to author
Forward
0 new messages