Skip to Content

Interface: Ad

interface Ad {    adFormat: "pause" | AdFormat | "linear" | "overlay" | "cutin";    breakIndex: number;    breakName: "overlay" | "preroll" | AdBreakName | "midroll" | "postroll";    id: string;    mimetype: string;    positionIndex: number;    sessionId: string;    skippable: boolean;    totalAds: number;    adSystem?: string;    adUrl?: string;    advertiserName?: string;    clickThroughUrl?: string;    creativeId?: string;    duration?: number;    height?: number;    nonLinearHeight?: number;    nonLinearWidth?: number;    title?: string;    universalAdIds?: { id: string; registry: string }[];    width?: number;}

Properties

adFormat

adFormat: "pause" | AdFormat | "linear" | "overlay" | "cutin"


breakIndex

breakIndex: number


breakName

breakName: "overlay" | "preroll" | AdBreakName | "midroll" | "postroll"


id

id: string


mimetype

mimetype: string


positionIndex

positionIndex: number


sessionId

sessionId: string


skippable

skippable: boolean


totalAds

totalAds: number


adSystem?

optional adSystem: string


adUrl?

optional adUrl: string


advertiserName?

optional advertiserName: string


clickThroughUrl?

optional clickThroughUrl: string


creativeId?

optional creativeId: string


duration?

optional duration: number


height?

optional height: number


nonLinearHeight?

optional nonLinearHeight: number


nonLinearWidth?

optional nonLinearWidth: number


title?

optional title: string


universalAdIds?

optional universalAdIds: object[]

id

id: string

registry

registry: string


width?

optional width: number

Last updated on