Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AdvertisingScheduleItem

Hierarchy

  • AdvertisingScheduleItem

Index

Properties

Optional admessage

admessage: string

Defines a custom message that will be displayed to the user instead of the progress bar during ad playback.

Has the placeholders '{remainingTime[formatString]}', '{playedTime[formatString]}' and '{adDuration[formatString]}', which are replaced by the remaining time until the ad can be skipped, the current time or the ad duration. The format string is optional. If not specified, the placeholder is replaced by the time in seconds. If specified, it must be of the following format:

  • %d - Inserts the time as an integer.
  • %0Nd - Inserts the time as an integer with leading zeroes, if the length of the time string is smaller than N.
  • %f - Inserts the time as a float.
  • %0Nf - Inserts the time as a float with leading zeroes.
  • %.Mf - Inserts the time as a float with M decimal places. Can be combined with %0Nf, e.g. %04.2f (the time 10.123 would be printed as 0010.12).
  • %hh:mm:ss
  • %mm:ss

Optional client

client: string

Specifies which ad client to use, like e.g., VAST or VPAID.

offset

offset: string

Defines when the ad shall be played. Supports the same values as AdvertisingConfig.offset.

Optional skipOffset

skipOffset: number

Specifies the time in seconds until the ad can be skipped. If set, overwrites the skip offset specified in the ad manifest (VAST and VPAID, not IMA)

Optional skipmessage

skipmessage: SkipMessage

The message that is displayed on the 'skip ad' button.

tag

tag: string | AdManifest[]

URL to the ad manifest. The array is used for ad waterfalling: all entries beyond the first are fallbacks if the previous ones did not work.

Generated using TypeDoc