Google Analytics data API

The data API from Google Analytics — 3 operation(s) for data.

Operations 3

GET /data/ga #
GET /data/mcf #
GET /data/realtime #

Documentation

📖
Documentation
https://developers.google.com/analytics/devguides/reporting/data/v1
📖
APIReference
https://developers.google.com/analytics/devguides/reporting/data/v1/rest
📖
GettingStarted
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart
📖
Authentication
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
📖
RateLimits
https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
📖
Documentation
https://developers.google.com/analytics/devguides/config/admin/v1
📖
APIReference
https://developers.google.com/analytics/devguides/config/admin/v1/rest
📖
GettingStarted
https://developers.google.com/analytics/devguides/config/admin/v1/quickstart
📖
Documentation
https://developers.google.com/analytics/devguides/collection/protocol/ga4
📖
APIReference
https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference
📖
GettingStarted
https://developers.google.com/analytics/devguides/collection/protocol/ga4/sending-events
📖
Troubleshooting
https://developers.google.com/analytics/devguides/collection/protocol/ga4/troubleshooting
📖
Documentation
https://developers.google.com/analytics/devguides/config/userdeletion/v3
📖
APIReference
https://developers.google.com/analytics/devguides/config/userdeletion/v3/reference
📖
Authentication
https://developers.google.com/analytics/devguides/config/userdeletion/v3/authorization
📖
Documentation
https://developers.google.com/analytics/devguides/reporting/core/v4
📖
GettingStarted
https://developers.google.com/analytics/devguides/migration/api/reporting-ua-to-ga4
📖
Documentation
https://developers.google.com/analytics/devguides/config/mgmt/v3
📖
APIReference
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference

Specifications

Code Examples

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-analytics-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-analytics-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Google
    url: https://google.com
    x-twitter: youtube
  description: Views and manages your Google Analytics data.
  license:
    name: Creative Commons Attribution 3.0
    url: http://creativecommons.org/licenses/by/3.0/
  termsOfService: https://developers.google.com/terms/
  title: Google Analytics Data API
  version: v3
  x-apiClientRegistration:
    url: https://console.developers.google.com
  x-apisguru-categories:
  - analytics
  - media
  x-logo:
    url: https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png
  x-origin:
  - format: google
    url: https://analytics.googleapis.com/$discovery/rest?version=v3
    version: v1
  x-preferred: true
  x-providerName: googleapis.com
  x-serviceName: analytics
servers:
- url: https://analytics.googleapis.com/analytics/v3
tags:
- name: data
paths:
  /data/ga:
    parameters:
    - $ref: '#/components/parameters/alt'
    - $ref: '#/components/parameters/fields'
    - $ref: '#/components/parameters/key'
    - $ref: '#/components/parameters/oauth_token'
    - $ref: '#/components/parameters/prettyPrint'
    - $ref: '#/components/parameters/quotaUser'
    - $ref: '#/components/parameters/userIp'
    get:
      description: Returns Analytics data for a view (profile).
      operationId: analytics.data.ga.get
      parameters:
      - description: Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
        in: query
        name: ids
        required: true
        schema:
          type: string
        example: '123456'
      - description: Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
        in: query
        name: start-date
        required: true
        schema:
          type: string
        example: '2026-04-17'
      - description: End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
        in: query
        name: end-date
        required: true
        schema:
          type: string
        example: '2026-04-17'
      - description: A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric must be specified.
        in: query
        name: metrics
        required: true
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
        in: query
        name: dimensions
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of dimension or metric filters to be applied to Analytics data.
        in: query
        name: filters
        schema:
          type: string
        example: example_value
      - description: The response will include empty rows if this parameter is set to true, the default is true
        in: query
        name: include-empty-rows
        schema:
          type: boolean
        example: true
      - description: The maximum number of entries to include in this feed.
        in: query
        name: max-results
        schema:
          type: integer
        example: 42
      - description: The selected format for the response. Default format is JSON.
        in: query
        name: output
        schema:
          enum:
          - dataTable
          - json
          type: string
        example: dataTable
      - description: The desired sampling level.
        in: query
        name: samplingLevel
        schema:
          enum:
          - DEFAULT
          - FASTER
          - HIGHER_PRECISION
          type: string
        example: DEFAULT
      - description: An Analytics segment to be applied to data.
        in: query
        name: segment
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
        in: query
        name: sort
        schema:
          type: string
        example: example_value
      - description: An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
        in: query
        name: start-index
        schema:
          minimum: 1
          type: integer
        example: 42
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GaData'
          description: Successful response
      security:
      - Oauth2:
        - https://www.googleapis.com/auth/analytics
        Oauth2c:
        - https://www.googleapis.com/auth/analytics
      - Oauth2:
        - https://www.googleapis.com/auth/analytics.readonly
        Oauth2c:
        - https://www.googleapis.com/auth/analytics.readonly
      tags:
      - data
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/mcf:
    parameters:
    - $ref: '#/components/parameters/alt'
    - $ref: '#/components/parameters/fields'
    - $ref: '#/components/parameters/key'
    - $ref: '#/components/parameters/oauth_token'
    - $ref: '#/components/parameters/prettyPrint'
    - $ref: '#/components/parameters/quotaUser'
    - $ref: '#/components/parameters/userIp'
    get:
      description: Returns Analytics Multi-Channel Funnels data for a view (profile).
      operationId: analytics.data.mcf.get
      parameters:
      - description: Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
        in: query
        name: ids
        required: true
        schema:
          type: string
        example: '123456'
      - description: Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
        in: query
        name: start-date
        required: true
        schema:
          type: string
        example: '2026-04-17'
      - description: End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
        in: query
        name: end-date
        required: true
        schema:
          type: string
        example: '2026-04-17'
      - description: A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
        in: query
        name: metrics
        required: true
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
        in: query
        name: dimensions
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of dimension or metric filters to be applied to the Analytics data.
        in: query
        name: filters
        schema:
          type: string
        example: example_value
      - description: The maximum number of entries to include in this feed.
        in: query
        name: max-results
        schema:
          type: integer
        example: 42
      - description: The desired sampling level.
        in: query
        name: samplingLevel
        schema:
          enum:
          - DEFAULT
          - FASTER
          - HIGHER_PRECISION
          type: string
        example: DEFAULT
      - description: A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
        in: query
        name: sort
        schema:
          type: string
        example: example_value
      - description: An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
        in: query
        name: start-index
        schema:
          minimum: 1
          type: integer
        example: 42
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McfData'
          description: Successful response
      security:
      - Oauth2:
        - https://www.googleapis.com/auth/analytics
        Oauth2c:
        - https://www.googleapis.com/auth/analytics
      - Oauth2:
        - https://www.googleapis.com/auth/analytics.readonly
        Oauth2c:
        - https://www.googleapis.com/auth/analytics.readonly
      tags:
      - data
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/realtime:
    parameters:
    - $ref: '#/components/parameters/alt'
    - $ref: '#/components/parameters/fields'
    - $ref: '#/components/parameters/key'
    - $ref: '#/components/parameters/oauth_token'
    - $ref: '#/components/parameters/prettyPrint'
    - $ref: '#/components/parameters/quotaUser'
    - $ref: '#/components/parameters/userIp'
    get:
      description: Returns real time data for a view (profile).
      operationId: analytics.data.realtime.get
      parameters:
      - description: Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
        in: query
        name: ids
        required: true
        schema:
          type: string
        example: '123456'
      - description: A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be specified.
        in: query
        name: metrics
        required: true
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
        in: query
        name: dimensions
        schema:
          type: string
        example: example_value
      - description: A comma-separated list of dimension or metric filters to be applied to real time data.
        in: query
        name: filters
        schema:
          type: string
        example: example_value
      - description: The maximum number of entries to include in this feed.
        in: query
        name: max-results
        schema:
          type: integer
        example: 42
      - description: A comma-separated list of dimensions or metrics that determine the sort order for real time data.
        in: query
        name: sort
        schema:
          type: string
        example: example_value
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RealtimeData'
          description: Successful response
      security:
      - Oauth2:
        - https://www.googleapis.com/auth/analytics
        Oauth2c:
        - https://www.googleapis.com/auth/analytics
      - Oauth2:
        - https://www.googleapis.com/auth/analytics.readonly
        Oauth2c:
        - https://www.googleapis.com/auth/analytics.readonly
      tags:
      - data
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    McfData:
      description: Multi-Channel Funnels data for a given view (profile).
      properties:
        columnHeaders:
          description: Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
          items:
            properties:
              columnType:
                description: Column Type. Either DIMENSION or METRIC.
                type: string
              dataType:
                description: Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc.
                type: string
              name:
                description: Column name.
                type: string
            type: object
          type: array
        containsSampledData:
          description: Determines if the Analytics data contains sampled data.
          type: boolean
        id:
          description: Unique ID for this data response.
          type: string
        itemsPerPage:
          description: The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
          format: int32
          type: integer
        kind:
          default: analytics#mcfData
          description: Resource type.
          type: string
        nextLink:
          description: Link to next page for this Analytics data query.
          type: string
        previousLink:
          description: Link to previous page for this Analytics data query.
          type: string
        profileInfo:
          description: Information for the view (profile), for which the Analytics data was requested.
          properties:
            accountId:
              description: Account ID to which this view (profile) belongs.
              type: string
            internalWebPropertyId:
              description: Internal ID for the web property to which this view (profile) belongs.
              type: string
            profileId:
              description: View (Profile) ID.
              type: string
            profileName:
              description: View (Profile) name.
              type: string
            tableId:
              description: Table ID for view (profile).
              type: string
            webPropertyId:
              description: Web Property ID to which this view (profile) belongs.
              type: string
          type: object
        query:
          description: Analytics data request query parameters.
          properties:
            dimensions:
              description: List of analytics dimensions.
              type: string
            end-date:
              description: End date.
              type: string
            filters:
              description: Comma-separated list of dimension or metric filters.
              type: string
            ids:
              description: Unique table ID.
              type: string
            max-results:
              description: Maximum results per page.
              format: int32
              type: integer
            metrics:
              description: List of analytics metrics.
              items:
                type: string
              type: array
            samplingLevel:
              description: Desired sampling level
              type: string
            segment:
              description: Analytics advanced segment.
              type: string
            sort:
              description: List of dimensions or metrics based on which Analytics data is sorted.
              items:
                type: string
              type: array
            start-date:
              description: Start date.
              type: string
            start-index:
              description: Start index.
              format: int32
              type: integer
          type: object
        rows:
          description: Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
          items:
            items:
              description: A union object representing a dimension or metric value. Only one of "primitiveValue" or "conversionPathValue" attribute will be populated.
              properties:
                conversionPathValue:
                  description: A conversion path dimension value, containing a list of interactions with their attributes.
                  items:
                    properties:
                      interactionType:
                        description: Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc.
                        type: string
                      nodeValue:
                        description: Node value of an interaction on conversion path. Such as source, medium etc.
                        type: string
                    type: object
                  type: array
                primitiveValue:
                  description: A primitive dimension value. A primitive metric value.
                  type: string
              type: object
            type: array
          type: array
        sampleSize:
          description: The number of samples used to calculate the result.
          format: int64
          type: string
        sampleSpace:
          description: Total size of the sample space from which the samples were selected.
          format: int64
          type: string
        selfLink:
          description: Link to this page.
          type: string
        totalResults:
          description: The total number of rows for the query, regardless of the number of rows in the response.
          format: int32
          type: integer
        totalsForAllResults:
          additionalProperties:
            description: Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.
            type: string
          description: Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
          type: object
      type: object
    GaData:
      description: Analytics data for a given view (profile).
      properties:
        columnHeaders:
          description: Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
          items:
            properties:
              columnType:
                description: Column Type. Either DIMENSION or METRIC.
                type: string
              dataType:
                description: Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, CURRENCY etc.
                type: string
              name:
                description: Column name.
                type: string
            type: object
          type: array
        containsSampledData:
          description: Determines if Analytics data contains samples.
          type: boolean
          example: true
        dataLastRefreshed:
          description: The last refreshed time in seconds for Analytics data.
          format: int64
          type: string
          example: example_value
        dataTable:
          properties:
            cols:
              items:
                properties:
                  id:
                    type: string
                  label:
                    type: string
                  type:
                    type: string
                type: object
              type: array
            rows:
              items:
                properties:
                  c:
                    items:
                      properties:
                        v:
                          type: string
                      type: object
                    type: array
                type: object
              type: array
          type: object
        id:
          description: Unique ID for this data response.
          type: string
          example: '123456'
        itemsPerPage:
          description: The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 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#gaData
          description: Resource type.
          type: string
          example: example_value
        nextLink:
          description: Link to next page for this Analytics data query.
          type: string
          example: example_value
        previousLink:
          description: Link to previous page for this Analytics data query.
          type: string
          example: example_value
        profileInfo:
          description: Information for the view (profile), for which the Analytics data was requested.
          properties:
            accountId:
              description: Account ID to which this view (profile) belongs.
              type: string
            internalWebPropertyId:
              description: Internal ID for the web property to which this view (profile) belongs.
              type: string
            profileId:
              description: View (Profile) ID.
              type: string
            profileName:
              description: View (Profile) name.
              type: string
            tableId:
              description: Table ID for view (profile).
              type: string
            webPropertyId:
              description: Web Property ID to which this view (profile) belongs.
              type: string
          type: object
        query:
          description: Analytics data request query parameters.
          properties:
            dimensions:
              description: List of analytics dimensions.
              type: string
            end-date:
              description: End date.
              type: string
            filters:
              description: Comma-separated list of dimension or metric filters.
              type: string
            ids:
              description: Unique table ID.
              type: string
            max-results:
              description: Maximum results per page.
              format: int32
              type: integer
            metrics:
              description: List of analytics metrics.
              items:
                type: string
              type: array
            samplingLevel:
              description: Desired sampling level
              type: string
            segment:
              description: Analytics advanced segment.
              type: string
            sort:
              description: List of dimensions or metrics based on which Analytics data is sorted.
              items:
                type: string
              type: array
            start-date:
              description: Start date.
              type: string
            start-index:
              description: Start index.
              format: int32
              type: integer
          type: object
        rows:
          description: Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
          items:
            items:
              type: string
            type: array
          type: array
        sampleSize:
          description: The number of samples used to calculate the result.
          format: int64
          type: string
          example: example_value
        sampleSpace:
          description: Total size of the sample space from which the samples were selected.
          format: int64
          type: string
          example: example_value
        selfLink:
          description: Link to this page.
          type: string
          example: example_value
        totalResults:
          description: The total number of rows for the query, regardless of the number of rows in the response.
          format: int32
          type: integer
          example: 42
        totalsForAllResults:
          additionalProperties:
            description: Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.
            type: string
          description: Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
          type: object
      type: object
    RealtimeData:
      description: Real time data for a given view (profile).
      properties:
        columnHeaders:
          description: Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
          items:
            properties:
              columnType:
                description: Column Type. Either DIMENSION or METRIC.
                type: string
              dataType:
                description: Data type. Dimension column headers have only STRING as the data type. Metric column headers have data types for metric values such as INTEGER, DOUBLE, CURRENCY etc.
                type: string
              name:
                description: Column name.
                type: string
            type: object
          type: array
        id:
          description: Unique ID for this data response.
          type: string
        kind:
          default: analytics#realtimeData
          description: Resource type.
          type: string
        profileInfo:
          description: Information for the view (profile), for which the real time data was requested.
          properties:
            accountId:
              description: Account ID to which this view (profile) belongs.
              type: string
            internalWebPropertyId:
              description: Internal ID for the web property to which this view (profile) belongs.
              type: string
            profileId:
              description: View (Profile) ID.
              type: string
            profileName:
              description: View (Profile) name.
              type: string
            tableId:
              description: Table ID for view (profile).
              type: string
            webPropertyId:
              description: Web Property ID to which this view (profile) belongs.
              type: string
          type: object
        query:
          description: Real time data request query parameters.
          properties:
            dimensions:
              description: List of real time dimensions.
              type: string
            filters:
              description: Comma-separated list of dimension or metric filters.
              type: string
            ids:
              description: Unique table ID.
              type: string
            max-results:
              description: Maximum results per page.
              format: int32
              type: integer
            metrics:
              description: List of real time metrics.
              items:
                type: string
              type: array
            sort:
              description: List of dimensions or metrics based on which real time data is sorted.
              items:
                type: string
              type: array
          type: object
        rows:
          description: Real time data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
          items:
            items:
              type: string
            type: array
          type: array
        selfLink:
          description: Link to this page.
          type: string
        totalResults:
          description: The total number of rows for the query, regardless of the number of rows in the response.
          format: int32
          type: integer
        totalsForAllResults:
          additionalProperties:
            description: Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.
            type: string
          description: Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
          type: object
      type: object
  parameters:
    prettyPrint:
      description: Returns response with indentations and line breaks.
      in: query
      name: prettyPrint
      schema:
        type: boolean
    userIp:
      description: Deprecated. Please use quotaUser instead.
      in: query
      name: userIp
      schema:
        type: string
    quotaUser:
      description: An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
      in: query
      name: quotaUser
      schema:
        type: string
    alt:
      description: Data format for the response.
      in: query
      name: alt
      schema:
        enum:
        - json
        type: string
    oauth_token:
      description: OAuth 2.0 token for the current user.
      in: query
      name: oauth_token
      schema:
        type: string
    fields:
      description: Selector specifying which fields to include in a partial response.
      in: query
      name: fields
      schema:
        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
  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: View and manage your Google Analytics data
            https://www.googleapis.com/auth/analytics.edit: Edit Google Analytics management entities
            https://www.googleapis.com/auth/analytics.manage.users: Manage Google Analytics Account users by email address
            https://www.googleapis.com/auth/analytics.manage.users.readonly: View Google Analytics user permissions
            https://www.googleapis.com/auth/analytics.provision: Create a new Google Analytics account along with its default property and view
            https://www.googleapis.com/auth/analytics.readonly: View your Google Analytics data
            https://www.googleapis.com/auth/analytics.user.deletion: Manage Google Analytics user deletion requests
      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: View and manage your Google Analytics data
            https://www.googleapis.com/auth/analytics.edit: Edit Google Analytics management entities
            https://www.googleapis.com/auth/analytics.manage.users: Manage Google Analytics Account users by email address
            https://www.googleapis.com/auth/analytics.manage.users.readonly: View Google Analytics user permissions
            https://www.googleapis.com/auth/analytics.provision: Create a new Google Analytics account along with its default property and view
            https://www.googleapis.com/auth/analytics.readonly: View your Google Analytics data
            https://www.googleapis.com/auth/analytics.user.deletion: Manage Google Analytics user deletion requests
          tokenUrl: https://accounts.google.com/o/oauth2/token
      type: oauth2
externalDocs:
  url: https://developers.google.com/analytics/