Jump to top

admob

interface

The Firebase Admob service interface.

This module is available for the default app only.

Example

Get the Admob service for the default app:

const defaultAppAdmob = firebase.admob();

Properties

app

</>

The current FirebaseApp instance for this Firebase service.

app: FirebaseApp;

Methods

setRequestConfiguration

</>

Sets request options for all future ad requests.

setRequestConfiguration(requestConfiguration: RequestConfiguration): Promise<void>;

Statics

AdEventType

</>

AdEventType enum.

admob.AdEventType: AdEventType;

AdsConsentDebugGeography

</>

AdsConsentDebugGeography interface.

admob.AdsConsentDebugGeography: AdsConsentDebugGeography;

AdsConsentStatus

</>

AdsConsentStatus interface.

admob.AdsConsentStatus: AdsConsentStatus;

BannerAdSize

</>

Used to sets the size of an Advert.

admob.BannerAdSize: BannerAdSize;

MaxAdContentRating

</>

AdsConsentDebugGeography interface.

admob.MaxAdContentRating: MaxAdContentRating;

RewardedAdEventType

</>

RewardedAdEventType enum.

admob.RewardedAdEventType: RewardedAdEventType;

TestIds

</>

TestIds interface

admob.TestIds: TestIds;