I'm using Ionic Framework, and this plugin:
When I deployed the app to the android phone, I see a black rectangle, but no ad.
I don't really know what's happening.. This is my code:
$ionicPlatform.ready(function() {
//Admob var am = window.plugins.AdMob; am.createBannerView( { 'publisherId': 'xxxxxxxxxx', 'adSize': am.AD_SIZE.SMART_BANNER, 'bannerAtTop': false }, function() { am.requestAd( { 'isTesting': true }, function() { am.showAd(true); }, function() { /* Handle error */ } ); }, function() { /* Handle error */ } ); });
Google play services plugin is also installed when you installed the previous admob plugin. If anyone can help me, I would really appreciate it. Thanks in advance