{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-marketing-platform/json-schema/google-marketing-platform-list-analytics-account-links-response-schema.json",
  "title": "ListAnalyticsAccountLinksResponse",
  "description": "Response message for ListAnalyticsAccountLinks RPC.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-marketing-platform-analyticsaccountlinks-api-openapi.yml#/components/schemas/ListAnalyticsAccountLinksResponse",
  "type": "object",
  "properties": {
    "analyticsAccountLinks": {
      "type": "array",
      "description": "Analytics account links in this organization.",
      "items": {
        "$ref": "#/$defs/AnalyticsAccountLink"
      }
    },
    "nextPageToken": {
      "type": "string",
      "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."
    }
  },
  "$defs": {
    "AnalyticsAccountLink": {
      "type": "object",
      "description": "A resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.",
      "properties": {
        "analyticsAccount": {
          "type": "string",
          "description": "Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id}"
        },
        "name": {
          "type": "string",
          "description": "Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: \"organizations/xyz/analyticsAccountLinks/1234\""
        },
        "displayName": {
          "type": "string",
          "description": "Output only. The human-readable name for the Analytics account.",
          "readOnly": true
        },
        "linkVerificationState": {
          "type": "string",
          "description": "Output only. The verification state of the link between the Analytics account and the parent organization.",
          "enum": [
            "LINK_VERIFICATION_STATE_UNSPECIFIED",
            "LINK_VERIFICATION_STATE_VERIFIED",
            "LINK_VERIFICATION_STATE_NOT_VERIFIED"
          ],
          "readOnly": true,
          "x-enum-descriptions": [
            "The link state is unknown.",
            "The link is established.",
            "The link is requested, but hasn't been approved by the product account admin."
          ]
        }
      }
    }
  }
}