Definition Vast-Request
https://sitename.tns-cs.net/j0=,,,;+,event=start+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;” https://sitename.tns-cs.net/j0=,,,;+,event=firstQuartile+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;” https://sitename.tns-cs.net/j0=,,,;+,event=midpoint+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;” https://sitename.tns-cs.net/j0=,,,;+,event=thirdQuartile+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;” https://sitename.tns-cs.net/j0=,,,;+,event=complete+stream=streampath+mobid=%%ADVERTISING_IDENTIFIER_PLAIN%%+cq=%%VIDEO_ID%%+dur=%%VIDEO_DURATION%%+uid=%%CACHEBUSTER%%;;;”
So the following variables are given by these requests:
variable | type | description | links |
---|---|---|---|
event | "start", "firstQuartile", "midpoint", "thirdQuartile", "complete" | Predefined event about progress/position of an Ad defined in Vast Standard | |
stream | string | The stream path of the Ad | |
mobid | UUID | from macro ADVERTISING_IDENTIFIER_PLAIN | |
cq | string | from macro VIDEO_ID | https://support.google.com/admanager/answer/2376981?hl=en#video-id&zippy=%2Cvideo-id |
dur | int | from macro VIDEO_DURATION | |
uid | string | from macro CACHEBUSTER |
For the emedia-output we use the latest event (“start”, …, “complete”) coming into the system and calculate the playtime in relation tothe “event (event)” and the “duration (dur)”
Playtime (pt) calculation
It needs to be defined in the beginning of the VAST-project if “dur” will be delivered by the broadcasters in seconds or millisseconds for the emedia-output
event | calculation |
---|---|
start |
|
firstQuartile |
|
midpoint |
|
thirdQuartile |
|
complete |
|