publishers

GET /v2/publishers/{publishersId}/items/{itemsId}:queryMetrics

Changed on

Query the metrics for an item.

Request

  • Base URL
    https://chromewebstore.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/chromewebstore
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/chromewebstore
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/chromewebstore.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/chromewebstore.readonly

Path parameters

publishersId, string required
itemsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

dimensions, string[]

Optional. Dimensions to slice the metrics by. At most one dimension can be specified. Supported dimensions: - os: The operating system of the user. - app-version: The version of the item. - country: The country of the user. - install-source: The source of the install. - install-type: The type of install (from webstore, inline, or other). - language: The language of the user. - enabled: If the item is enabled or disabled. - utm-campaign: The UTM campaign of the user. - utm-content: The UTM content of the user. - utm-medium: The UTM medium of the user. - utm-source: The UTM source of the user. - utm-term: The UTM term of the user.

metrics, string[]

Required. The metrics to query the metric set for. Supported metrics: - installs: Count of item installs. - installs-7d: Count of item installs in the last 7 days. - uninstalls: Count of item uninstalls. - users: Count of daily active users of the item. - users-7d: Count of 7-day active users of the item. - impressions: Count of item impressions across the entire store front. - page-views: Count of individual views of the item's detail page.

pageSize, integer

Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be returned. The maximum value is 1000; Values above 1000 will be coerced to 1000.

pageToken, string

Optional. 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.

timeSpec.firstDate.day, integer

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

timeSpec.firstDate.month, integer

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

timeSpec.firstDate.year, integer

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

timeSpec.lastDate.day, integer

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

timeSpec.lastDate.month, integer

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

timeSpec.lastDate.year, integer

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Response

Successful response

QueryItemMetricsResponse required

Response message for QueryItemMetrics.

metricRows, MetricRow[]

The metric rows.

nextPageToken, string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Changes