AI-generated Key Takeaways
-
This service provides methods to register and retrieve SamSession objects for monitoring.
-
The
getSamSessionsByStatementoperation retrieves logging information for a DAI session using its session ID or debug key, with a limit of 25 sessions per request. -
The
registerSessionsForMonitoringoperation registers a list of session IDs so their logging information can be viewed in the Ad Manager UI.
Provides methods for registering and retrieving SamSession objects.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v202508/StreamActivityMonitorService?wsdl - Namespace
-
https://www.google.com/apis/ads/publisher/v202508 - 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
|