How to determine interstitial is displaying?

40 views
Skip to first unread message

Chuanli Gan

unread,
Aug 30, 2014, 1:25:44 AM8/30/14
to google-adm...@googlegroups.com
If the interstitial is displaying now, then I don't need to show it again.
Inmobi has the function: if(inmobInterstitial.state==kIMInterstitialStateActive) , how about admob?

Rjfun Mobile

unread,
Aug 30, 2014, 7:00:58 AM8/30/14
to google-adm...@googlegroups.com
you can listen to the callback.

...
interstitialAd
.setAdListener(new InterstitialListener());
...
private class InterstitialListener extends AdListner {
   
@Override
   
public void onAdOpened() {
        interstitialActive
= true;
   
}
   
@Override
   
public void onAdClosed() {
        interstitialActive
= false;
   
}
}

chuanli gan

unread,
Aug 30, 2014, 11:25:04 AM8/30/14
to google-adm...@googlegroups.com
Thanks! What's the function in iOS?


--

---
You received this message because you are subscribed to a topic in the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/25PmZzGykUQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raymond Xie

unread,
Sep 1, 2014, 11:25:56 PM9/1/14
to google-adm...@googlegroups.com

- (void)interstitialWillPresentScreen:(GADInterstitial *)interstitial {

}

- (void)interstitialDidDismissScreen:(GADInterstitial *)interstitial {

Reply all
Reply to author
Forward
0 new messages