AI-generated Key Takeaways
- 
          Queries error count metrics within a specified app and timeframe, allowing for filtering and aggregation by various dimensions. 
- 
          Utilizes a POST request to https://playdeveloperreporting.googleapis.com/v1alpha1/{name=apps/*/errorCountMetricSet}:querywith the app's resource name as a path parameter.
- 
          Requires a request body specifying the timeline, dimensions, metrics, and optional filtering criteria for the query. 
- 
          The response includes rows of aggregated metrics data and a token for pagination if necessary. 
- 
          Authorization necessitates the https://www.googleapis.com/auth/playdeveloperreportingOAuth scope.
Queries the metrics in the metrics set.
HTTP request
POST https://playdeveloperreporting.googleapis.com/v1alpha1/{name=apps/*/errorCountMetricSet}:query
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The resource name. Format: apps/{app}/errorCountMetricSet | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "timelineSpec": {
    object ( | 
| Fields | |
|---|---|
| timelineSpec | 
 Specification of the timeline aggregation parameters. Supported aggregation periods: 
 | 
| dimensions[] | 
 Dimensions to slice the data by. Supported dimensions: 
 | 
| metrics[] | 
 Metrics to aggregate. Supported metrics: 
 | 
| pageSize | 
 Maximum size of the returned data. If unspecified, at most 1000 rows will be returned. The maximum value is 100000; values above 100000 will be coerced to 100000. | 
| pageToken | 
 A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token. | 
| filter | 
 Filters to apply to data. The filtering expression follows AIP-160 standard and supports filtering by equality of all breakdown dimensions and: 
 | 
Response body
Error counts query response.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "rows": [
    {
      object ( | 
| Fields | |
|---|---|
| rows[] | 
 Returned rows. | 
| nextPageToken | 
 Continuation token to fetch the next page of data. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/playdeveloperreporting
For more information, see the OAuth 2.0 Overview.