AI-generated Key Takeaways
-
The Stream Activity Monitor Service allows you to retrieve and register DAI session logging information.
-
You can get session details using
getSamSessionsByStatementby session ID or debug key, but sessions must first be registered for monitoring. -
To monitor sessions, you need to register their IDs using the
registerSessionsForMonitoringoperation. -
The service defines various error types, including those related to API version, authentication, collection size, and session handling.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v202411/StreamActivityMonitorService?wsdl - Namespace
-
https://www.google.com/apis/ads/publisher/v202411 - 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
|