Google Analytics · Schema

EntityAdWordsLink

JSON template for Analytics Entity Google Ads Link.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Properties

Name Type Description
adWordsAccounts array A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.
entity object Web property being linked.
id string Entity Google Ads link ID
kind string Resource type for entity Google Ads link.
name string Name of the link. This field is required when creating a Google Ads link.
profileIds array IDs of linked Views (Profiles) represented as strings.
selfLink string URL link for this Google Analytics - Google Ads link.
View JSON Schema on GitHub

JSON Schema

google-analytics-entityadwordslink-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EntityAdWordsLink",
  "title": "EntityAdWordsLink",
  "description": "JSON template for Analytics Entity Google Ads Link.",
  "properties": {
    "adWordsAccounts": {
      "description": "A list of Google Ads client accounts. These cannot be MCC accounts. This field is required when creating a Google Ads link. It cannot be empty.",
      "items": {
        "$ref": "#/components/schemas/AdWordsAccount"
      },
      "type": "array"
    },
    "entity": {
      "description": "Web property being linked.",
      "properties": {
        "webPropertyRef": {
          "$ref": "#/components/schemas/WebPropertyRef"
        }
      },
      "type": "object"
    },
    "id": {
      "description": "Entity Google Ads link ID",
      "type": "string",
      "example": "123456"
    },
    "kind": {
      "default": "analytics#entityAdWordsLink",
      "description": "Resource type for entity Google Ads link.",
      "type": "string",
      "example": "example_value"
    },
    "name": {
      "description": "Name of the link. This field is required when creating a Google Ads link.",
      "type": "string",
      "example": "Example Name"
    },
    "profileIds": {
      "description": "IDs of linked Views (Profiles) represented as strings.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "selfLink": {
      "description": "URL link for this Google Analytics - Google Ads link.",
      "type": "string",
      "example": "example_value"
    }
  },
  "type": "object"
}