The THEOads interstitial that corresponds with ad playback.

interface AdBreakInterstitial {
    adTagParameters: Record<string, string>;
    ads: readonly Ad[];
    backdropUri: undefined | string;
    duration: undefined | number;
    id: string;
    layout: TheoAdsLayout;
    startTime: number;
    type: "adbreak";
}

Hierarchy (view full)

Properties

adTagParameters: Record<string, string>

The ad tag parameters that are used for this specific ad break.

Remarks


- The set values are combined and potentially override parameters set on the TheoAdDescription.adTagParameters or through TheoAds.replaceAdTagParameters.

ads: readonly Ad[]

The ads that are part of the interstitial.

Remarks


  • - Only available during ad playback.
backdropUri: undefined | string

The background when playing an ad.

Remarks


  • This is only available when playing in double or l-shape layout.
duration: undefined | number

The duration of the interstitial, in seconds.

id: string

The identifier of the interstitial.

The layout which is used to play the ads of the interstitial.

startTime: number

The start time at which the interstitial will start.

type: "adbreak"

The type of the interstitial.