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.
15 lines (14 loc) • 480 B
TypeScript
import { MobileAd, type MobileAdOptions } from "./base";
export interface ServerSideVerificationOptions {
customData?: string;
userId?: string;
}
export interface RewardedAdOptions extends MobileAdOptions {
serverSideVerification?: ServerSideVerificationOptions;
}
export declare class RewardedAd extends MobileAd<RewardedAdOptions> {
static readonly cls = "RewardedAd";
isLoaded(): Promise<boolean>;
load(): Promise<void>;
show(): Promise<unknown>;
}