Update docs (#3348)

Co-authored-by: Miquel Martín <miquel.martin@appfeel.com>
This commit is contained in:
Miquel 2020-03-22 10:52:56 +01:00 committed by GitHub
parent 4091b1b37a
commit a57000a55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ export interface AdmobOptions {
/** /**
* (Optional) Your interstitial id code from your AdMob account. Defaults to publisherId * (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 * (Optional) Your rewarded id code from your AdMob account. Defaults to publisherId
@ -19,7 +19,27 @@ export interface AdmobOptions {
rewardedAdId?: string; 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; tappxIdiOS?: string;
@ -100,7 +120,7 @@ export interface AdmobOptions {
* // Admob options config * // Admob options config
* const admobOptions: AdmobOptions = { * const admobOptions: AdmobOptions = {
* publisherId: 'XXX-XXXX-XXXX', * publisherId: 'XXX-XXXX-XXXX',
* interstitialAdId: 'XXX-XXXX-XXXX', * interstitialId: 'XXX-XXXX-XXXX',
* rewardedAdId: 'XXX-XXXX-XXXX', * rewardedAdId: 'XXX-XXXX-XXXX',
* isTesting: true, * isTesting: true,
* autoShowBanner: false, * autoShowBanner: false,