interface SgaiAdBreak {
    adCreativeSignaling?: SgaiAdTrackerData;
    ads?: SgaiLinearAd[];
    customAdTrackingInfo?: any;
    id: string;
    replaceContentDuration?: number;
    restrictions?: PlaybackRestrictions;
    scheduleTime: number;
    totalDuration: number;
    totalPlayoutLimit?: number;
}

Hierarchy (view full)

Properties

adCreativeSignaling?: SgaiAdTrackerData

Ad creative signaling data for the ad break. Top level ad creative signaling present in ASSET-LIST applicable to the entire ad break. For ASSET-URI, this value is present on DATE-RANGE level.

Parsed based on SVTA spec

ads?: SgaiLinearAd[]

The list of ads to be played during this ad break.

Overwrite the ads type in AdBreak

customAdTrackingInfo?: any

Custom ad tracking information for the ad break.

id: string

The id of the corresponding AdBreakConfig. If the AdBreak was generated out of a VMAP tag, then the ID present in the VMAP tag will be taken. If none is present in the VMAP tag, it will be generated.

replaceContentDuration?: number

Specifies how many seconds the ad break(s) should replace of the main video content.

restrictions?: PlaybackRestrictions

Playback restrictions to apply during ad playback (e.g., seeking, playback rate changes).

scheduleTime: number

The time in seconds in the media timeline the AdBreak is scheduled for.

totalDuration: number

The duration of the AdBreak.

totalPlayoutLimit?: number

The amount of time the AdBreak (including all nested ads) is expected to be played for. Set to undefined if the AdBreak is expected to be played in its entirety.