AI-generated Key Takeaways
-
The Production WSDL for the StreamActivityMonitorService is located at
https://ads.google.com/apis/ads/publisher/v202502/StreamActivityMonitorService?wsdland its namespace ishttps://www.google.com/apis/ads/publisher/v202502. -
The service offers two main operations:
getSamSessionsByStatementto retrieve logging information for DAI sessions using session ID or debug key (limited to 25 sessions), andregisterSessionsForMonitoringto register a list of session IDs for monitoring. -
The service defines various errors, including those related to API version, authentication, collection size, common issues, features, internal API problems, null values, parsing, permissions, PQL context and syntax, quota, required collections or fields, Sam session issues, server errors, statements, and string format or length.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v202502/StreamActivityMonitorService?wsdl - Namespace
-
https://www.google.com/apis/ads/publisher/v202502 - 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
|