Interface VastIcon

VastIcon. For more info please take a look at the VAST specification

Hierarchy

  • VastIcon

Properties

duration?: number

The duration the icon should be displayed unless ad is finished playing.

height?: number

Pixel height of the icon.

htmlResource?: string

The URI to a static creative file to be used as the icon.

iFrameResource?: string

The URI to a static creative file to be used as the icon.

iconClickThrough?: string

A URI to the industry program page opened when a viewer clicks the icon.

iconClickTracking?: string[]

Array of URIs to the tracking resource files to be called when a click corresponding to the id attribute (if provided) occurs.

iconViewTracking?: string[]

Array of URIs for the tracking resource files to be called when the icon creative is displayed

left?: number

Pixel left offset of the icon.

offset?: number

The time of delay from when the associated linear creative begins playing to when the icon should be displayed.

program?: string

The program represented in the icon (e.g. "AdChoices").

pxratio?: number

The pixel ratio for which the icon creative is intended. The pixel ratio is the ratio of physical pixels on the device to the device-independent pixels. An ad intended for display on a device with a pixel ratio that is twice that of a standard 1:1 pixel ratio would use the value "2." Default value is "1.".

staticResource?: string

The URI to a static creative file to be used as the icon.

top?: number

Pixel top offset of the icon.

width?: number

Pixel width of the icon.

xPosition?: string | number

The x-coordinate of the top, left corner of the icon asset relative to the ad display area. Values of "left" or "right" also accepted and indicate the leftmost or rightmost available position for the icon asset.

yPosition?: string | number

The y-coordinate of the top left corner of the icon asset relative to the ad display area. Values of "top" or "bottom" also accepted and indicate the topmost or bottom most available position for the icon asset

Generated using TypeDoc