Skip to main content
Version: Next

Class: AdMob

Constructors

constructor

new AdMob(): AdMob

Returns

AdMob

Properties

AppOpenAd

Readonly AppOpenAd: typeof AppOpenAd = ads.AppOpenAd

Defined in

packages/cordova/src/www/index.ts:8


BannerAd

Readonly BannerAd: typeof BannerAd = ads.BannerAd

Defined in

packages/cordova/src/www/index.ts:9


Events

Readonly Events: typeof Events = Events

Defined in

packages/cordova/src/www/index.ts:16


InterstitialAd

Readonly InterstitialAd: typeof InterstitialAd = ads.InterstitialAd

Defined in

packages/cordova/src/www/index.ts:10


NativeAd

Readonly NativeAd: typeof NativeAd = ads.NativeAd

Defined in

packages/cordova/src/www/index.ts:11


RewardedAd

Readonly RewardedAd: typeof RewardedAd = ads.RewardedAd

Defined in

packages/cordova/src/www/index.ts:12


RewardedInterstitialAd

Readonly RewardedInterstitialAd: typeof RewardedInterstitialAd = ads.RewardedInterstitialAd

Defined in

packages/cordova/src/www/index.ts:13


WebViewAd

Readonly WebViewAd: typeof WebViewAd = ads.WebViewAd

Defined in

packages/cordova/src/www/index.ts:14


_startPromise

Private _startPromise: undefined | Promise<{ version: string }>

Defined in

packages/cordova/src/www/index.ts:18

Methods

_start

_start(): Promise<{ version: string }>

Returns

Promise<{ version: string }>

Defined in

packages/cordova/src/www/index.ts:29


configure

configure(config): Promise<unknown>

Parameters

NameType
configAdMobConfig

Returns

Promise<unknown>

Defined in

packages/cordova/src/www/index.ts:20


start

start(): Promise<{ version: string }>

Returns

Promise<{ version: string }>

Defined in

packages/cordova/src/www/index.ts:24