Version: 2.69.0

AdDescription

THEOplayer > AdDescription

AdDescription interface

Describes an ad break request.

Signature:
export interface AdDescription

Properties

PropertyTypeDescription
integrationAdIntegrationKindThe integration of the ad break.
replaceContentbooleanWhether the ad replaces playback of the content.
sourcesstring | AdSourceA source which contains the location of ad resources to be scheduled.
timeOffsetstring | numberOffset after which the ad break will start.Possible formats:
- A number for the offset in seconds.
- 'start' for a preroll.
- 'end' for a postroll.
- 'HH:MM:SS.mmm' for a timestamp in the playback window.
- A percentage string (XX%) for a proportion of the content duration.