AdMob Pro


Plugin for Google Ads, including AdMob / DFP (DoubleClick for publisher) and mediations to other Ad networks.

IMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you profit more than $1,000. Read more about this on the plugin's repo. For a completely free alternative, see AdMobPro Free.



If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic AdMob Pro插件的安装(Installation)

ionic cordova plugin add cordova-plugin-admobpro npm install @ionic-native/admob-pro
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/admob-pro

Ionic AdMob Pro插件支持的平台(Supported Platforms)

  • Android
  • iOS
  • Windows Phone 8

Ionic AdMob Pro插件的用法(Usage)

import { AdMobPro } from '@ionic-native/admob-pro/ngx';
import { Platform } from '@ionic/angular';

constructor(private admob: AdMobPro, private platform: Platform ) { }

ionViewDidLoad() {
    .subscribe(() => { console.log('User dismissed ad'); });

onClick() {
  let adId;
  if(this.platform.is('android')) {
  } else if (this.platform.is('ios')) {
    adId = 'YOUR_ADID_IOS';
  this.admob.prepareInterstitial({adId: adId})
    .then(() => { this.admob.showInterstitial(); });