cordova admob
admob.createBannerView({publisherId: "ca-app-pub-XXXXXXXXXXXXXXXX/BBBBBBBBBB"});
Here is what the above code is Doing:
1. The first line imports the AdMob module.
2. The second line creates an instance of the AdMob module.
3. The third line creates a banner view.
4. The fourth line displays the banner view.