Google Analytics · Schema
Accounts
An account collection provides a list of Analytics accounts to which a user has access. The account collection is the entry point to all management information. Each resource in the collection corresponds to a single Analytics account.
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution
Properties
| Name | Type | Description |
|---|---|---|
| items | array | A list of accounts. |
| itemsPerPage | integer | The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by |
| kind | string | Collection type. |
| nextLink | string | Next link for this account collection. |
| previousLink | string | Previous link for this account collection. |
| startIndex | integer | The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter. |
| totalResults | integer | The total number of results for the query, regardless of the number of results in the response. |
| username | string | Email ID of the authenticated user |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Accounts",
"title": "Accounts",
"description": "An account collection provides a list of Analytics accounts to which a user has access. The account collection is the entry point to all management information. Each resource in the collection corresponds to a single Analytics account.",
"properties": {
"items": {
"description": "A list of accounts.",
"items": {
"$ref": "#/components/schemas/Account"
},
"type": "array"
},
"itemsPerPage": {
"description": "The maximum number of entries the response can contain, regardless of the actual number of entries returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.",
"format": "int32",
"type": "integer",
"example": 42
},
"kind": {
"default": "analytics#accounts",
"description": "Collection type.",
"type": "string",
"example": "example_value"
},
"nextLink": {
"description": "Next link for this account collection.",
"type": "string",
"example": "example_value"
},
"previousLink": {
"description": "Previous link for this account collection.",
"type": "string",
"example": "example_value"
},
"startIndex": {
"description": "The starting index of the entries, which is 1 by default or otherwise specified by the start-index query parameter.",
"format": "int32",
"type": "integer",
"example": 42
},
"totalResults": {
"description": "The total number of results for the query, regardless of the number of results in the response.",
"format": "int32",
"type": "integer",
"example": 42
},
"username": {
"description": "Email ID of the authenticated user",
"type": "string",
"example": "Example Name"
}
},
"type": "object"
}