0

I am developing an ionic(version: 3.19.0) and cordova(version: 7.1.0) iOS app and using ionic native admob free plugin ( https://ionicframework.com/docs/native/admob-free/ ) to display ads. The ad shows when isTesting: true but no ads shows when isTesting: false. My ad unit id is correct and ad shows(with the same ad unit ids) correctly when I use AdMob Pro plugin. The ad prepare event calls successfully but no ads. I am stuck and I dont know where the mistake. Below the code I used.

 const bannerConfig: AdMobFreeBannerConfig = {
        id:MY_AD_UNIT_ID_HERE,
        isTesting: false,
        autoShow: true
      };
      this.admob.banner.config(bannerConfig);
      this.admob.banner.prepare()
        .then(() => {
//This event calls successfully
        })
        .catch(e => console.log(e));
Tony
  • 123
  • 1
  • 2
  • 8

0 Answers0