Skip to content

@capgo/capacitor-admob

AdMob Plus Plugin interface for displaying Google AdMob ads in Capacitor apps.

AdMob Plus Plugin interface for displaying Google AdMob ads in Capacitor apps.

  • start - Initialize and start the AdMob SDK.
  • configure - Configure AdMob settings.
  • configRequest - Configure ad request settings.
  • adCreate - Create a new ad instance.
MethodDescription
startInitialize and start the AdMob SDK.
configureConfigure AdMob settings.
configRequestConfigure ad request settings.
adCreateCreate a new ad instance.
adIsLoadedCheck if an ad is loaded and ready to be shown.
adLoadLoad an ad.
adShowShow a loaded ad.
adHideHide a currently displayed ad.
trackingAuthorizationStatusGet the current tracking authorization status (iOS only).
requestTrackingAuthorizationRequest tracking authorization from the user (iOS only).
addListenerAdd a listener for ad events.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in capacitor-admob.

If you are using @capgo/capacitor-admob to plan native plugin work, connect it with Using @capgo/capacitor-admob for the native capability in Using @capgo/capacitor-admob, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.