openapi: 3.0.0 info: contact: name: Google url: https://google.com x-twitter: youtube description: 'Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.' license: name: Creative Commons Attribution 3.0 url: http://creativecommons.org/licenses/by/3.0/ termsOfService: https://developers.google.com/terms/ title: Google Analytics Admin accounts accountSummaries API version: v1beta x-apisguru-categories: - analytics - media x-logo: url: https://upload.wikimedia.org/wikipedia/commons/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg x-origin: - format: google url: https://analyticsadmin.googleapis.com/$discovery/rest?version=v1beta version: v1 x-preferred: true x-providerName: googleapis.com x-serviceName: analyticsadmin servers: - url: https://analyticsadmin.googleapis.com/ tags: - name: accountSummaries paths: /v1beta/accountSummaries: parameters: - $ref: '#/components/parameters/_.xgafv' - $ref: '#/components/parameters/access_token' - $ref: '#/components/parameters/alt' - $ref: '#/components/parameters/callback' - $ref: '#/components/parameters/fields' - $ref: '#/components/parameters/key' - $ref: '#/components/parameters/oauth_token' - $ref: '#/components/parameters/prettyPrint' - $ref: '#/components/parameters/quotaUser' - $ref: '#/components/parameters/upload_protocol' - $ref: '#/components/parameters/uploadType' get: description: Returns summaries of all accounts accessible by the caller. operationId: analyticsadmin.accountSummaries.list parameters: - description: The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) in: query name: pageSize schema: type: integer example: 10 - description: A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token. in: query name: pageToken schema: type: string example: abc123token responses: '200': content: application/json: schema: $ref: '#/components/schemas/GoogleAnalyticsAdminV1betaListAccountSummariesResponse' description: Successful response security: - Oauth2: - https://www.googleapis.com/auth/analytics.edit Oauth2c: - https://www.googleapis.com/auth/analytics.edit - Oauth2: - https://www.googleapis.com/auth/analytics.readonly Oauth2c: - https://www.googleapis.com/auth/analytics.readonly tags: - accountSummaries x-microcks-operation: delay: 0 dispatcher: FALLBACK components: parameters: _.xgafv: description: V1 error format. in: query name: $.xgafv schema: enum: - '1' - '2' type: string alt: description: Data format for response. in: query name: alt schema: enum: - json - media - proto type: string key: description: 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. in: query name: key schema: type: string uploadType: description: Legacy upload protocol for media (e.g. "media", "multipart"). in: query name: uploadType schema: type: string oauth_token: description: OAuth 2.0 token for the current user. in: query name: oauth_token schema: type: string prettyPrint: description: Returns response with indentations and line breaks. in: query name: prettyPrint schema: type: boolean upload_protocol: description: Upload protocol for media (e.g. "raw", "multipart"). in: query name: upload_protocol schema: type: string callback: description: JSONP in: query name: callback schema: type: string fields: description: Selector specifying which fields to include in a partial response. in: query name: fields schema: type: string access_token: description: OAuth access token. in: query name: access_token schema: type: string quotaUser: description: 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. in: query name: quotaUser schema: type: string schemas: GoogleAnalyticsAdminV1betaAccountSummary: description: A virtual resource representing an overview of an account and all its child GA4 properties. properties: account: description: 'Resource name of account referred to by this account summary Format: accounts/{account_id} Example: "accounts/1000"' type: string example: example_value displayName: description: Display name for the account referred to in this account summary. type: string example: Example Name name: description: 'Resource name for this account summary. Format: accountSummaries/{account_id} Example: "accountSummaries/1000"' type: string example: Example Name propertySummaries: description: List of summaries for child accounts of this account. items: $ref: '#/components/schemas/GoogleAnalyticsAdminV1betaPropertySummary' type: array type: object GoogleAnalyticsAdminV1betaPropertySummary: description: A virtual resource representing metadata for a GA4 property. properties: displayName: description: Display name for the property referred to in this property summary. type: string parent: description: 'Resource name of this property''s logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/200"' type: string property: description: 'Resource name of property referred to by this property summary Format: properties/{property_id} Example: "properties/1000"' type: string propertyType: description: The property's property type. enum: - PROPERTY_TYPE_UNSPECIFIED - PROPERTY_TYPE_ORDINARY - PROPERTY_TYPE_SUBPROPERTY - PROPERTY_TYPE_ROLLUP type: string type: object GoogleAnalyticsAdminV1betaListAccountSummariesResponse: description: Response message for ListAccountSummaries RPC. properties: accountSummaries: description: Account summaries of all accounts the caller has access to. items: $ref: '#/components/schemas/GoogleAnalyticsAdminV1betaAccountSummary' type: array nextPageToken: description: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. type: string type: object securitySchemes: Oauth2: description: Oauth 2.0 implicit authentication flows: implicit: authorizationUrl: https://accounts.google.com/o/oauth2/auth scopes: https://www.googleapis.com/auth/analytics.edit: Edit Google Analytics management entities https://www.googleapis.com/auth/analytics.readonly: See and download your Google Analytics data type: oauth2 Oauth2c: description: Oauth 2.0 authorizationCode authentication flows: authorizationCode: authorizationUrl: https://accounts.google.com/o/oauth2/auth scopes: https://www.googleapis.com/auth/analytics.edit: Edit Google Analytics management entities https://www.googleapis.com/auth/analytics.readonly: See and download your Google Analytics data tokenUrl: https://accounts.google.com/o/oauth2/token type: oauth2 externalDocs: url: http://code.google.com/apis/analytics/docs/mgmt/home.html