Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The SamSession is a component of the StreamActivityMonitorService.
The SamSession object contains fields such as sessionId, isVodSession, streamCreateRequest, adBreaks, startDateTime, sessionDurationMillis, and contentDurationMillis.
The streamCreateRequest field can be of type StreamCreateRequest, LinearStreamCreateRequest, or VodStreamCreateRequest.
The adBreaks field is an array of AdBreak objects.
The namespace for SamSession is https://www.google.com/apis/ads/publisher/v202502.
[[["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-06 UTC."],[],["The `StreamActivityMonitorService` uses `getSamSessionsByStatement()` to retrieve `SamSession` data. A `SamSession` includes details like `sessionId`, `isVodSession`, and `streamCreateRequest` which can be a `LinearStreamCreateRequest` or `VodStreamCreateRequest`. It also contains `adBreaks`, `startDateTime`, `sessionDurationMillis`, and `contentDurationMillis`. This service manages and provides information on streaming sessions, including the session's type, duration, associated ad breaks, and start time.\n"]]