UNPKG

@wscsports/blaze-rtn-gam-ads

Version:
25 lines 1.01 kB
export type BlazeBannerAdEventType = 'adLoaded' | 'adClicked' | 'adImpression' | 'adRequested'; interface BlazeGAMBannerAdsDelegateOnAdEventParams { eventType: BlazeBannerAdEventType; } export interface BlazeGAMBannerAdsDelegate { /** * This function will be triggered every time an event on an ad will happen. * * @param params The data associated with the ad involved in the event. */ onGAMBannerAdsAdEvent?: (params: BlazeGAMBannerAdsDelegateOnAdEventParams) => void; /** * Called when an error occurs during ad loading or playback. * * @param errorMessage The error message associated with the error. */ onGAMBannerAdsAdError?: (errorMessage: string) => void; } export declare class BlazeBannerAdsDelegateHelper { static registerDelegate(delegate?: BlazeGAMBannerAdsDelegate | null): void; private static onGAMBannerAdsAdEvent; private static onGAMBannerAdsAdError; } export {}; //# sourceMappingURL=BlazeGAMBannerAdsDelegate.d.ts.map