TrackingEvents

An object with VAST event names and actions..

type TrackingEvents = {
            [key in string]: string[];
            }
Value Description
[key in string]: string[] A "key-value" pair where the key is the VAST event name and the value is an array of strings (links invoked when the event is triggered).

Event list

Event

Description

error

Ad error.

impression

  1. For a regular video, it's triggered when the first frame is shown.
  2. For Yandex VPAID creatives, it's triggered in one of the two cases:
    • When clicking through to the advertiser's site;
    • After two seconds of viewing ads in the viewable area. Viewable ad view is the time when the creative is playing with its viewable part taking up at least 50% of the creative's total space. The creative should also meet the minimum size criteria (see section 4.3.2 on the minimum player size).
  3. For other creatives, the event is triggered when an impression is launched by the creative itself.

start

Ad serving start.

firstQuartile

25% of the ad was played.

midpoint

50% of the ad was played.

thirdQuartile

75% of the ad was played.

complete

The ad was played to the end.

mute

The sound is muted.

unmute

The sound is on.

pause

The ad is paused.

resume

The ad is unpaused.

close

The user stopped the ad by clicking the CLOSE or ABUSE button