AI-generated Key Takeaways
- 
          This document details how to list custom dimensions on a property using an HTTP GET request. 
- 
          The request uses path parameters to specify the parent property and can include query parameters for pagination. 
- 
          The request body must be empty, and the response body contains a list of custom dimensions and a potential next page token. 
- 
          The API call requires specific OAuth authorization scopes for read or edit access to analytics data. 
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists CustomDimensions on a property.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/customDimensions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. Example format: properties/1234 | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). | 
| pageToken | 
 A page token, received from a previous  When paginating, all other parameters provided to  | 
Request body
The request body must be empty.
Response body
Response message for customDimensions.list RPC.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "customDimensions": [
    {
      object ( | 
| Fields | |
|---|---|
| customDimensions[] | 
 List of CustomDimensions. | 
| nextPageToken | 
 A token, which can be sent as  | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/analytics.readonly
- https://www.googleapis.com/auth/analytics.edit