UNPKG

@wscsports/blaze-rtn-gam-ads

Version:
54 lines 1.6 kB
import { BlazeGAMCustomNativeAdsDelegate } from './BlazeGAMCustomNativeAdsDelegate'; import { BlazeGAMBannerAdsDelegate } from './BlazeGAMBannerAdsDelegate'; interface BlazeGAMDefaultAdConfig { /** * Ad Unit in the GAM system. */ adUnit: string; /** * Template ID in the GAM system. */ templateId: string; } interface BlazeGAMEnableCustomNativeAdsOptions { /** * Default ad config to use if non is set in our system. */ defaultAdConfig?: BlazeGAMDefaultAdConfig; /** * This delegate will be invoked upon different events. */ delegate?: BlazeGAMCustomNativeAdsDelegate | null; } interface BlazeGAMEnableBannerAdsOptions { /** * This delegate will be invoked upon different events. */ delegate?: BlazeGAMBannerAdsDelegate | null; } interface BlazeGAMInterface { /** * Call this function to enable Google Ads Manager Custom Native ads. * * @param options * @param delegate */ enableCustomNativeAds(options: BlazeGAMEnableCustomNativeAdsOptions): void; /** * Call this function to disable Google Ads Manager Custom Native ads. */ disableCustomNativeAds(): void; /** * Call this function to enable Google Ads Manager Banner ads. * * @param delegate */ enableBannerAds(options: BlazeGAMEnableBannerAdsOptions): void; /** * Call this function to disable Google Ads Manager Banner ads. */ disableBannerAds(): void; } export declare const BlazeGAM: BlazeGAMInterface; export {}; //# sourceMappingURL=NativeBlazeGAM.d.ts.map