UNPKG

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.

27 lines (20 loc) 528 B
import { MobileAd, type MobileAdOptions } from "./base"; export interface ServerSideVerificationOptions { customData?: string; userId?: string; } export interface RewardedAdOptions extends MobileAdOptions { serverSideVerification?: ServerSideVerificationOptions; } export class RewardedAd extends MobileAd<RewardedAdOptions> { static readonly cls = "RewardedAd"; public isLoaded() { return super.isLoaded(); } public load() { return super.load(); } public show() { return super.show(); } }