window.plugins.AdMob or window.AdMob undefined

I’m trying to put ads on my app with cordova-plugin-admobpro. I tried avery single tutorial that I found in the web and the ionic demo https://github.com/jaivehall/admob-ionic-demo, but AdMob is always undefined, I tried with window.AdMob with the same results (“admob plugin not ready”):

if (! window.AdMob ) { alert( 'admob plugin not ready' ); return; }
AdMob.createBanner( {
    adId: admobid.banner,
    isTesting: true,
    //overlap: false,
   // offsetTopBar: false,
    position: AdMob.AD_POSITION.BOTTOM_CENTER,
    bgColor: 'black'
} );

Which Ionic version are you using?
Post the output of ionic info please.

Hi, thanks for your help. This is the output:
Cordova CLI: 6.5.0
Ionic CLI version: 2.2.2
Ionic App Lib version: 2.2.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.1
Xcode version: Not installed