sunnycupertino / cordova-plugin-admob-simple

Cordova plugin allowing Admob interstitials and banner ads.
MIT License
164 stars 150 forks source link

not error but not show Ads #41

Closed bachdienquan closed 5 years ago

bachdienquan commented 5 years ago

not error but not show Ads. i have add my admob id to the manifest

sunnycupertino commented 5 years ago

Does it work with test ads, eg. isTesting=true in the javascript?

bachdienquan commented 5 years ago

Thanks @sunnycupertino . Test Ads show. beside that autoShow: false but interstitial ad auto show when device ready. i don't call window.plugins.AdMob.showInterstitialAd();

sunnycupertino commented 5 years ago

If test ads show then the problem is likely because your app is not signed, or you run it through an emulator, and adwords won't show ads in that case. Try signing your app and run it that way.

Amiga4ever commented 5 years ago

I have similiar issue. No ads even in test mode. Plugin installed, all set to .js file and still receiving error: 'Uncaught TypeError: Cannot read property 'AdMob' of undefined'

My spec: -Android Studio 3.2.1 -targetSdkVersion="26", -Cordova 8.1.2

UPDATE Finally I've managed to run it.

sunnycupertino commented 5 years ago

I have similiar issue. No ads even in test mode. Plugin installed, all set to .js file and still receiving error: 'Uncaught TypeError: Cannot read property 'AdMob' of undefined'

My spec: -Android Studio 3.2.1 -targetSdkVersion="26", -Cordova 8.1.2

UPDATE Finally I've managed to run it.