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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-13 UTC."],[],[],null,["# type SamSession (v202508)\n\n**Service** \n**StreamActivityMonitorService** **Dependencies** \n[getSamSessionsByStatement()](/ad-manager/api/reference/v202508/StreamActivityMonitorService#getSamSessionsByStatement) \n▼\n**SamSession**\n\n\nContains the debugging information that was logged for a Stream\nActivity Monitor (SAM) session.\n\nThis object will grow and get updated over the course of the\nstream.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202508`\n\n| Field ----- ||\n|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `sessionId` | ` `xsd:`string` The UUID that uniquely identifies this session. |\n| ### `isVodSession` | ` `xsd:`boolean` Whether this is a VOD session. |\n| ### `streamCreateRequest` | 1. ` `[StreamCreateRequest](/ad-manager/api/reference/v202508/StreamActivityMonitorService.StreamCreateRequest)` ` 1. ` `[LinearStreamCreateRequest](/ad-manager/api/reference/v202508/StreamActivityMonitorService.LinearStreamCreateRequest)` ` 2. ` `[VodStreamCreateRequest](/ad-manager/api/reference/v202508/StreamActivityMonitorService.VodStreamCreateRequest)` ` \u003cbr /\u003e The initial request from the video player to retrieve the streaming URL chunks that are updated as the stream progresses. |\n| ### `adBreaks` | ` `[AdBreak](/ad-manager/api/reference/v202508/StreamActivityMonitorService.AdBreak)`[]` The list of debugging information that occurred at each ad break in the stream. |\n| ### `startDateTime` | ` `[DateTime](/ad-manager/api/reference/v202508/StreamActivityMonitorService.DateTime)` ` The date and time the session started. |\n| ### `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. |\n| ### `contentDurationMillis` | ` `xsd:`long` The duration of the content in milliseconds. This is for VOD debugging only. |"]]