UNPKG

react-native-aps

Version:
41 lines (40 loc) 1.03 kB
/** * @public */ export interface AdLoaderOptions { /** * The slotUUID of the ad slot. */ slotUUID: string; /** * The optional custom targeting key value pairs for the bid request. */ customTargeting?: { [key: string]: string; }; } /** * @public */ export interface BannerAdLoaderOptions extends AdLoaderOptions { /** * The size of the banner ad slot. Required for banner ad slots. */ size: string; /** * Whether the banner ad to be automatically refreshed. Defaults to `false`. */ autoRefresh?: boolean; /** * The time interval in seconds between refreshes. Defaults to `60` seconds if autoRefresh enabled. The minimum auto-refresh time supported is `20` seconds. */ refreshInterval?: number; } /** * @internal */ export declare function validateAdLoaderOptions(adLoaderOptions: AdLoaderOptions): void; /** * @internal */ export declare function validateBannerAdLoaderOptions(adLoaderOptions: BannerAdLoaderOptions): void;