admob-plus-cordova
Version:
Trustable Google AdMob Cordova Plugin, successor of cordova-plugin-admob-free. Unlike some Cordova AdMob plugins, no ad-sharing, free to use. TypeScript friendly. Compatible with Ionic. admob-plus-cordova is one of the most popular Cordova AdMob plugins.
25 lines (24 loc) • 777 B
TypeScript
import * as ads from "./ads";
import { type AdMobConfig, Events } from "./common";
export * from "./ads";
export * from "./common";
export declare class AdMob {
readonly AppOpenAd: typeof ads.AppOpenAd;
readonly BannerAd: typeof ads.BannerAd;
readonly InterstitialAd: typeof ads.InterstitialAd;
readonly NativeAd: typeof ads.NativeAd;
readonly RewardedAd: typeof ads.RewardedAd;
readonly RewardedInterstitialAd: typeof ads.RewardedInterstitialAd;
readonly WebViewAd: typeof ads.WebViewAd;
readonly Events: typeof Events;
private _startPromise;
configure(config: AdMobConfig): Promise<unknown>;
start(): Promise<{
version: string;
}>;
private _start;
}
declare global {
const admob: AdMob;
}
export default AdMob;