AdMob Work on Android, not work on iOS

I’m using this:
Well, the code work on both interstitial and banner for Android platform , but on iOS (simulator and phone), there is nothing, no test banner etc.
All admob unit id are ok!

my info:
global packages:

@ionic/cli-utils : 1.1.2
Cordova CLI      : 7.0.0
Ionic CLI        : 3.1.2

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.1.2
@ionic/cli-plugin-ionic-angular : 1.1.2
Ionic Framework                 : ionic-angular 3.2.1


Node       : v6.10.3
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

The Code:


import { Component } from ‘@angular/core’;
import { NavController } from ‘ionic-angular’;
import { AlertController } from ‘ionic-angular’;

import { AdMob } from ‘@ionic-native/admob’;
import { Platform } from ‘ionic-angular’;

selector: ‘page-home’,
templateUrl: ‘home.html’

export class HomePage {

admobid: any;

constructor(public navCtrl: NavController,public alertCtrl: AlertController, private admob: AdMob, private platform: Platform) {

 if('android')) { // for Android

      this.admobid = {
      banner : 'ca-app-pub-1xxx',  
      interstitial: 'ca-app-pub-2xxx'

   } else if ('ios')) {// for iOS
      this.admobid = {
      banner : 'ca-app-pub-3xxx',  
      interstitial: 'ca-app-pub-4xxx'

          adId: this.admobid.banner,
          isTesting: true,//comment this out before publishing the app
          autoShow: false

                adId: this.admobid.interstitial,
                isTesting: true, //comment this out before publishing the app
                autoShow: false
//this.admob.prepareInterstitial({adId: adId})
//.then(() => { this.admob.showInterstitial(); });



      if (this.admob)


        // this.showAlert();

if (this.admob)


  showAlert() {
      let alert = this.alertCtrl.create({
        title: 'OK',
        subTitle: this.admobid.interstitial,
        buttons: ['OK']



Ionic Blank The world is your oyster.

If you get lost, the docs will be your guide.
Show Interstitial 2

And of course imported the admob on modules and providers

Can someone help me?
It is a ionic native and i’m testing since 10 hours without any results

The console log on xcode have this at the end
AdMob, onAdFailLoad, {‘adNetwork’:‘AdMob’,‘adType’:‘banner’,‘adEvent’:‘onAdFailLoad’,‘error’:1,‘reason’:‘Request Error: No ad to show.’}

Did you find any solution?

I fought this same problem for a long time, and have found a solution to showing the test ads. Everything worked before I upgraded to ionic 3 and angular 5, so I thought it would still work with my settings. After upgrading, I found that it would only display the test ad once only on a fresh install of the app on my device. Then I’d get the error mentioned above with ‘no ad to show’.

I found a test ad ID on some article, and when I changed my adId to this test ad ID ‘ca-app-pub-3940256099942544/4411468910’ it started showing the test ad every time!

Try changing your ad id to the test ad id: ‘ca-app-pub-3940256099942544/4411468910’

Hope this helps someone out there!