UNPKG

expo-ads-admob

Version:

Provides support for the Google AdMob SDK (https://www.google.com/admob/) for mobile advertising. This module is largely based of the react-native-admob (https://github.com/sbugert/react-native-admob) module, as the documentation and questions surrounding

17 lines 776 B
declare type EventNameType = 'interstitialDidLoad' | 'interstitialDidFailToLoad' | 'interstitialDidOpen' | 'interstitialDidClose'; declare type EventListener = (...args: any[]) => void; declare const _default: { setAdUnitID(id: string): Promise<void>; requestAdAsync(options?: { servePersonalizedAds?: boolean; additionalRequestParams?: Record<string, string>; }): Promise<void>; showAdAsync(): Promise<void>; dismissAdAsync(): Promise<void>; getIsReadyAsync(): Promise<boolean>; addEventListener(type: EventNameType, handler: EventListener): void; removeEventListener(type: EventNameType, handler: EventListener): void; removeAllListeners(): void; }; export default _default; //# sourceMappingURL=AdMobInterstitial.d.ts.map