-
Notifications
You must be signed in to change notification settings - Fork 127
Home
Miquel Martín edited this page Jan 5, 2019
·
47 revisions
Welcome to Google AdMob Cordova and Phonegap plugin. This plugin allows you to monetize your Cordova, Phonegap, Intel XDK or Ionic apps with AdMob ads, using latest Google AdMob SDK.
Wiki table of contents:
- Table of contents
- Change Log
- Testimonials
- Setup
- Angular.js, Ionic apps
- Tappx configuration
-
Javascript API
- setOptions
- Banners
- Interstitials
- Rewarded
- In app purchase
- Events
- Complete example code
- Contributing
- Screenshots
With this plugin you can show AdMob ads as easy as:
admob.createBannerView({publisherId: "ca-app-pub-XXXXXXXXXXXXXXXX/BBBBBBBBBB"});
Or
admob.requestInterstitialAd({
publisherId: "ca-app-pub-XXXXXXXXXXXXXXXX/BBBBBBBBBB",
interstitialAdId: "ca-app-pub-XXXXXXXXXXXXXXXX/IIIIIIIIII"
});
- iOS, using AdMob SDK for iOS, v7.13.1
- Android, using latest Google Play Service for Android (via gradle)
You can support this project by sharing 2% Ad traffic (it's not mandatory: if you are unwilling to share, please fork and remove the donation code).
Love the project? Wanna buy me a coffee (or a beer :D)? Click here