type SamSession (v202508)

  • SamSession contains debugging information logged for a Stream Activity Monitor (SAM) session and is updated over the course of the stream.

  • Each SamSession is uniquely identified by a sessionId and indicates if it's a VOD session.

  • The session includes the initial streamCreateRequest, a list of adBreaks, the startDateTime, and the total sessionDurationMillis.

  • For VOD sessions, the contentDurationMillis is also provided for debugging.

Contains the debugging information that was logged for a Stream Activity Monitor (SAM) session.

This object will grow and get updated over the course of the stream.


Namespace
https://www.google.com/apis/ads/publisher/v202508

Field

sessionId

xsd:string

The UUID that uniquely identifies this session.

isVodSession

xsd:boolean

Whether this is a VOD session.

streamCreateRequest

  1. StreamCreateRequest
    1. LinearStreamCreateRequest
    2. VodStreamCreateRequest

The initial request from the video player to retrieve the streaming URL chunks that are updated as the stream progresses.

adBreaks

AdBreak[]

The list of debugging information that occurred at each ad break in the stream.

startDateTime

DateTime

The date and time the session started.

sessionDurationMillis

xsd:long

The duration of the session in milliseconds. For live this is calculated by subtracting the timestamp on the oldest log from the timestamp on the newest log. For VOD this is the total duration of the content plus the ads that have been inserted.

contentDurationMillis

xsd:long

The duration of the content in milliseconds. This is for VOD debugging only.