AI-generated Key Takeaways
-
The Stream Activity Monitor Service provides operations to retrieve and register DAI session logging information.
-
The
getSamSessionsByStatement
operation returns logging information for registered DAI sessions, filterable by session ID or debug key with a limit of 25 sessions. -
The
registerSessionsForMonitoring
operation allows you to register a list of session IDs to persist and view their logged information in the Ad Manager UI. -
The service defines a comprehensive list of potential errors including issues with authentication, permissions, quotas, and specific session errors.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v202505/StreamActivityMonitorService?wsdl
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
- Operations
- Errors
-
- ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- FeatureError
- InternalApiError
- NotNullError
- ParseError
- PermissionError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RequiredCollectionError
- RequiredError
- SamSessionError
- ServerError
- StatementError
- StringFormatError
- StringLengthError
getSamSessionsByStatement
Returns the logging information for a DAI session. A DAI session
can be identified by it's session id or debug key. The session ID
must be registered via the registerSessionsForMonitoring
method before it
can be accessed. There may be some delay before the session is
available.
The number of sessions requested is limited to 25. The following fields are supported for filtering:
Entity property | PQL filter |
---|---|
Session id | 'sessionId' |
Debug key | 'debugKey" |
Parameters
Field | Type | Description |
---|---|---|
statement
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
registerSessionsForMonitoring
Registers the specified list of sessionIds
for monitoring. Once the session IDs
have been registered, all logged information about the sessions
will be persisted and can be viewed via the Ad Manager UI.
A session ID is a unique identifier of a single user watching a live stream event.
Parameters
Field | Type | Description |
---|---|---|
sessionIds
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
Errors
Error | Reasons |
---|---|
ApiVersionError
|
Enumerations
|
AuthenticationError
|
Enumerations
|
CollectionSizeError
|
Enumerations
|
CommonError
|
Enumerations
|
FeatureError
|
Enumerations
|
InternalApiError
|
Enumerations
|
NotNullError
|
Enumerations
|
ParseError
|
Enumerations
|
PermissionError
|
Enumerations
|
PublisherQueryLanguageContextError
|
Enumerations
|
PublisherQueryLanguageSyntaxError
|
Enumerations
|
QuotaError
|
Enumerations
|
RequiredCollectionError
|
Enumerations
|
RequiredError
|
Enumerations
|
SamSessionError
|
Enumerations
|
ServerError
|
Enumerations
|
StatementError
|
Enumerations
|
StringFormatError
|
Enumerations
|
StringLengthError
|
Enumerations
|