Better ways to show Admoob Interstitial


#1

Hi All,

I am using Admob for showing Interstitial ads and it works fine without issues.

But to ensure that we follow Google Admob policies I am showing it in the ionViewWillLeave event of the home page.

But the ad shows on every page change and I am sure which will annoy users. How best we can deal with this?

  ionViewWillLeave() {
    if (AdMob) AdMob.prepareInterstitial({ adId: 'ca-app-pub-4646/75676767', autoShow: true });
  }