Skip to content

Commit

Permalink
fix(admob): fix interstitialAdId parameter typo (#3348)
Browse files Browse the repository at this point in the history
Co-authored-by: Miquel Martín <[email protected]>
  • Loading branch information
2 people authored and danielsogl committed Mar 22, 2020
1 parent 4091b1b commit fe89f2b
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions src/@ionic-native/plugins/admob/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,35 @@ export interface AdmobOptions {
/**
* (Optional) Your interstitial id code from your AdMob account. Defaults to publisherId
*/
interstitialAdId?: string;
interstitiaAdlId?: string;

/**
* (Optional) Your rewarded id code from your AdMob account. Defaults to publisherId
*/
rewardedAdId?: string;

/**
* (Optional) Your tappx id for iOS apps. If Admob is configured, it is also used to backfill your lost inventory when there are no Admob ads available
* (Optional) Your ad slot code from your AdSense account. Only for browser platform
*/
adSlot?: string;

/**
* (Optional) Indicates if show a close button on interstitial browser ads. Only for browser platform
*/
interstitialShowCloseButton?: boolean;

/**
* (Optional) Indicates the number of seconds that the interstitial ad waits before show the close button. Only for browser platform
*/
secondsToShowCloseButton?: number;

/**
* (Optional) Indicates the number of seconds that the interstitial ad waits before close the ad. Only for browser platform
*/
secondsToCloseInterstitial?: number;

/**
* (Optional) Your tappx id for iOS apps. If Admob is configured, it is also used to backfill your lost inventory (when there are no Admob ads available)
*/
tappxIdiOS?: string;

Expand Down Expand Up @@ -100,7 +120,7 @@ export interface AdmobOptions {
* // Admob options config
* const admobOptions: AdmobOptions = {
* publisherId: 'XXX-XXXX-XXXX',
* interstitialAdId: 'XXX-XXXX-XXXX',
* interstitialId: 'XXX-XXXX-XXXX',
* rewardedAdId: 'XXX-XXXX-XXXX',
* isTesting: true,
* autoShowBanner: false,
Expand Down

0 comments on commit fe89f2b

Please sign in to comment.