interface AdsRequest {
    adTagUrl: string;
    adsResponse?: null | string | Document;
    contentDuration?: null | number;
    contentKeywords?: null | string[];
    contentTitle?: null | string;
    forceNonLinearFullSlot: boolean;
    linearAdSlotHeight: number;
    linearAdSlotWidth: number;
    liveStreamPrefetchSeconds: number;
    nonLinearAdSlotHeight: number;
    nonLinearAdSlotWidth: number;
    omidAccessModeRules: Record<string, string>;
    pageUrl?: null | string;
    vastLoadTimeout?: number;
    setAdWillAutoPlay(autoPlay): void;
    setAdWillPlayMuted(muted): void;
    setContinuousPlayback(continuousPlayback): void;
}

Properties

adTagUrl: string
adsResponse?: null | string | Document
contentDuration?: null | number
contentKeywords?: null | string[]
contentTitle?: null | string
forceNonLinearFullSlot: boolean
linearAdSlotHeight: number
linearAdSlotWidth: number
liveStreamPrefetchSeconds: number
nonLinearAdSlotHeight: number
nonLinearAdSlotWidth: number
omidAccessModeRules: Record<string, string>
pageUrl?: null | string
vastLoadTimeout?: number

Methods

  • Parameters

    • autoPlay: boolean

    Returns void

  • Parameters

    • muted: boolean

    Returns void

  • Parameters

    • continuousPlayback: boolean

    Returns void