blob: cd8391062d6fbe7bd26d7f0b2384d76e7383d998 [file] [log] [blame]
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/tagmanager.delete.containers": {
"description": "Delete your Google Tag Manager containers"
},
"https://www.googleapis.com/auth/tagmanager.edit.containers": {
"description": "Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing"
},
"https://www.googleapis.com/auth/tagmanager.edit.containerversions": {
"description": "Manage your Google Tag Manager container versions"
},
"https://www.googleapis.com/auth/tagmanager.manage.accounts": {
"description": "View and manage your Google Tag Manager accounts"
},
"https://www.googleapis.com/auth/tagmanager.manage.users": {
"description": "Manage user permissions of your Google Tag Manager account and container"
},
"https://www.googleapis.com/auth/tagmanager.publish": {
"description": "Publish your Google Tag Manager container versions"
},
"https://www.googleapis.com/auth/tagmanager.readonly": {
"description": "View your Google Tag Manager container and its subcomponents"
}
}
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Tag Manager",
"description": "This API allows clients to access and modify container and tag\n configuration.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/tag-manager",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "tagmanager:v2",
"kind": "discovery#restDescription",
"name": "tagmanager",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"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.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"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.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"accounts": {
"methods": {
"get": {
"description": "Gets a GTM Account.",
"flatPath": "tagmanager/v2/accounts/{accountsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.manage.accounts",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Accounts that a user has access to.",
"flatPath": "tagmanager/v2/accounts",
"httpMethod": "GET",
"id": "tagmanager.accounts.list",
"parameterOrder": [],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
}
},
"path": "tagmanager/v2/accounts",
"response": {
"$ref": "ListAccountsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.manage.accounts",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"update": {
"description": "Updates a GTM Account.",
"flatPath": "tagmanager/v2/accounts/{accountsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the account\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Account"
},
"response": {
"$ref": "Account"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.accounts"
]
}
},
"resources": {
"containers": {
"methods": {
"create": {
"description": "Creates a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Account's API relative path.\nExample: accounts/{account_id}.",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/containers",
"request": {
"$ref": "Container"
},
"response": {
"$ref": "Container"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.delete.containers"
]
},
"get": {
"description": "Gets a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Container"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all Containers that belongs to a GTM Account.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}.",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/containers",
"response": {
"$ref": "ListContainersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"update": {
"description": "Updates a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\ncontainer in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Container"
},
"response": {
"$ref": "Container"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
},
"resources": {
"environments": {
"methods": {
"create": {
"description": "Creates a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.environments.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/environments",
"request": {
"$ref": "Environment"
},
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.environments.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.environments.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Environments of a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.environments.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/environments",
"response": {
"$ref": "ListEnvironmentsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"reauthorize": {
"description": "Re-generates the authorization code for a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}:reauthorize",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.environments.reauthorize",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:reauthorize",
"request": {
"$ref": "Environment"
},
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.publish"
]
},
"update": {
"description": "Updates a GTM Environment.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/environments/{environmentsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.environments.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\nenvironment in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Environment's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/environments/{environment_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/environments/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Environment"
},
"response": {
"$ref": "Environment"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"version_headers": {
"methods": {
"latest": {
"description": "Gets the latest container version header",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers:latest",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.version_headers.latest",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/version_headers:latest",
"response": {
"$ref": "ContainerVersionHeader"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all Container Versions of a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/version_headers",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.version_headers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"includeDeleted": {
"description": "Also retrieve deleted (archived) versions when true.",
"location": "query",
"type": "boolean"
},
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/version_headers",
"response": {
"$ref": "ListContainerVersionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.edit.containerversions",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
}
}
},
"versions": {
"methods": {
"delete": {
"description": "Deletes a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.versions.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"get": {
"description": "Gets a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.versions.get",
"parameterOrder": [
"path"
],
"parameters": {
"containerVersionId": {
"description": "The GTM ContainerVersion ID. Specify \u003ccode\u003epublished\u003c/code\u003e to retrieve\nthe currently published version.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.edit.containerversions",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"live": {
"description": "Gets the live (i.e. published) container version",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions:live",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.versions.live",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/versions:live",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"publish": {
"description": "Publishes a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:publish",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.versions.publish",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\ncontainer version in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:publish",
"response": {
"$ref": "PublishContainerVersionResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.publish"
]
},
"set_latest": {
"description": "Sets the latest version used for synchronization of workspaces when\ndetecting conflicts and errors.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:set_latest",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.versions.set_latest",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:set_latest",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"undelete": {
"description": "Undeletes a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}:undelete",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.versions.undelete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:undelete",
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"update": {
"description": "Updates a Container Version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/versions/{versionsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.versions.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\ncontainer version in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM ContainerVersion's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/versions/{version_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/versions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "ContainerVersion"
},
"response": {
"$ref": "ContainerVersion"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
}
}
},
"workspaces": {
"methods": {
"create": {
"description": "Creates a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM parent Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/workspaces",
"request": {
"$ref": "Workspace"
},
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"create_version": {
"description": "Creates a Container Version from the entities present in the workspace,\ndeletes the workspace, and sets the base container version to the newly\ncreated version.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:create_version",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.create_version",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:create_version",
"request": {
"$ref": "CreateContainerVersionRequestVersionOptions"
},
"response": {
"$ref": "CreateContainerVersionResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"delete": {
"description": "Deletes a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.delete.containers"
]
},
"get": {
"description": "Gets a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"getStatus": {
"description": "Finds conflicting and modified entities in the workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/status",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.getStatus",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}/status",
"response": {
"$ref": "GetWorkspaceStatusResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all Workspaces that belong to a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM parent Container's API relative path.\nExample: accounts/{account_id}/containers/{container_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/workspaces",
"response": {
"$ref": "ListWorkspacesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"quick_preview": {
"description": "Quick previews a workspace by creating a fake container version from all\nentities in the provided workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:quick_preview",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.quick_preview",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:quick_preview",
"response": {
"$ref": "QuickPreviewResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
},
"resolve_conflict": {
"description": "Resolves a merge conflict for a workspace entity by updating it to the\nresolved entity passed in the request.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:resolve_conflict",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.resolve_conflict",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\nentity_in_workspace in the merge conflict.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:resolve_conflict",
"request": {
"$ref": "Entity"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"sync": {
"description": "Syncs a workspace to the latest container version by updating all\nunmodified workspace entities and displaying conflicts for modified\nentities.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}:sync",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.sync",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:sync",
"response": {
"$ref": "SyncWorkspaceResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the\nworkspace in storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Workspace"
},
"response": {
"$ref": "Workspace"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
},
"resources": {
"built_in_variables": {
"methods": {
"create": {
"description": "Creates one or more GTM Built-In Variables.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The types of built-in variables to enable.",
"enum": [
"builtInVariableTypeUnspecified",
"pageUrl",
"pageHostname",
"pagePath",
"referrer",
"event",
"clickElement",
"clickClasses",
"clickId",
"clickTarget",
"clickUrl",
"clickText",
"firstPartyServingUrl",
"formElement",
"formClasses",
"formId",
"formTarget",
"formUrl",
"formText",
"errorMessage",
"errorUrl",
"errorLine",
"newHistoryUrl",
"oldHistoryUrl",
"newHistoryFragment",
"oldHistoryFragment",
"newHistoryState",
"oldHistoryState",
"historySource",
"containerVersion",
"debugMode",
"randomNumber",
"containerId",
"appId",
"appName",
"appVersionCode",
"appVersionName",
"language",
"osVersion",
"platform",
"sdkVersion",
"deviceName",
"resolution",
"advertiserId",
"advertisingTrackingEnabled",
"htmlId",
"environmentName",
"ampBrowserLanguage",
"ampCanonicalPath",
"ampCanonicalUrl",
"ampCanonicalHost",
"ampReferrer",
"ampTitle",
"ampClientId",
"ampClientTimezone",
"ampClientTimestamp",
"ampClientScreenWidth",
"ampClientScreenHeight",
"ampClientScrollX",
"ampClientScrollY",
"ampClientMaxScrollX",
"ampClientMaxScrollY",
"ampTotalEngagedTime",
"ampPageViewId",
"ampPageLoadTime",
"ampPageDownloadTime",
"ampGtmEvent",
"eventName",
"firebaseEventParameterCampaign",
"firebaseEventParameterCampaignAclid",
"firebaseEventParameterCampaignAnid",
"firebaseEventParameterCampaignClickTimestamp",
"firebaseEventParameterCampaignContent",
"firebaseEventParameterCampaignCp1",
"firebaseEventParameterCampaignGclid",
"firebaseEventParameterCampaignSource",
"firebaseEventParameterCampaignTerm",
"firebaseEventParameterCurrency",
"firebaseEventParameterDynamicLinkAcceptTime",
"firebaseEventParameterDynamicLinkLinkid",
"firebaseEventParameterNotificationMessageDeviceTime",
"firebaseEventParameterNotificationMessageId",
"firebaseEventParameterNotificationMessageName",
"firebaseEventParameterNotificationMessageTime",
"firebaseEventParameterNotificationTopic",
"firebaseEventParameterPreviousAppVersion",
"firebaseEventParameterPreviousOsVersion",
"firebaseEventParameterPrice",
"firebaseEventParameterProductId",
"firebaseEventParameterQuantity",
"firebaseEventParameterValue",
"videoProvider",
"videoUrl",
"videoTitle",
"videoDuration",
"videoPercent",
"videoVisible",
"videoStatus",
"videoCurrentTime",
"scrollDepthThreshold",
"scrollDepthUnits",
"scrollDepthDirection",
"elementVisibilityRatio",
"elementVisibilityTime",
"elementVisibilityFirstTime",
"elementVisibilityRecentTime",
"requestPath",
"requestMethod",
"clientName",
"queryString"
],
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/built_in_variables",
"response": {
"$ref": "CreateBuiltInVariableResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes one or more GTM Built-In Variables.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM BuiltInVariable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/built_in_variables$",
"required": true,
"type": "string"
},
"type": {
"description": "The types of built-in variables to delete.",
"enum": [
"builtInVariableTypeUnspecified",
"pageUrl",
"pageHostname",
"pagePath",
"referrer",
"event",
"clickElement",
"clickClasses",
"clickId",
"clickTarget",
"clickUrl",
"clickText",
"firstPartyServingUrl",
"formElement",
"formClasses",
"formId",
"formTarget",
"formUrl",
"formText",
"errorMessage",
"errorUrl",
"errorLine",
"newHistoryUrl",
"oldHistoryUrl",
"newHistoryFragment",
"oldHistoryFragment",
"newHistoryState",
"oldHistoryState",
"historySource",
"containerVersion",
"debugMode",
"randomNumber",
"containerId",
"appId",
"appName",
"appVersionCode",
"appVersionName",
"language",
"osVersion",
"platform",
"sdkVersion",
"deviceName",
"resolution",
"advertiserId",
"advertisingTrackingEnabled",
"htmlId",
"environmentName",
"ampBrowserLanguage",
"ampCanonicalPath",
"ampCanonicalUrl",
"ampCanonicalHost",
"ampReferrer",
"ampTitle",
"ampClientId",
"ampClientTimezone",
"ampClientTimestamp",
"ampClientScreenWidth",
"ampClientScreenHeight",
"ampClientScrollX",
"ampClientScrollY",
"ampClientMaxScrollX",
"ampClientMaxScrollY",
"ampTotalEngagedTime",
"ampPageViewId",
"ampPageLoadTime",
"ampPageDownloadTime",
"ampGtmEvent",
"eventName",
"firebaseEventParameterCampaign",
"firebaseEventParameterCampaignAclid",
"firebaseEventParameterCampaignAnid",
"firebaseEventParameterCampaignClickTimestamp",
"firebaseEventParameterCampaignContent",
"firebaseEventParameterCampaignCp1",
"firebaseEventParameterCampaignGclid",
"firebaseEventParameterCampaignSource",
"firebaseEventParameterCampaignTerm",
"firebaseEventParameterCurrency",
"firebaseEventParameterDynamicLinkAcceptTime",
"firebaseEventParameterDynamicLinkLinkid",
"firebaseEventParameterNotificationMessageDeviceTime",
"firebaseEventParameterNotificationMessageId",
"firebaseEventParameterNotificationMessageName",
"firebaseEventParameterNotificationMessageTime",
"firebaseEventParameterNotificationTopic",
"firebaseEventParameterPreviousAppVersion",
"firebaseEventParameterPreviousOsVersion",
"firebaseEventParameterPrice",
"firebaseEventParameterProductId",
"firebaseEventParameterQuantity",
"firebaseEventParameterValue",
"videoProvider",
"videoUrl",
"videoTitle",
"videoDuration",
"videoPercent",
"videoVisible",
"videoStatus",
"videoCurrentTime",
"scrollDepthThreshold",
"scrollDepthUnits",
"scrollDepthDirection",
"elementVisibilityRatio",
"elementVisibilityTime",
"elementVisibilityFirstTime",
"elementVisibilityRecentTime",
"requestPath",
"requestMethod",
"clientName",
"queryString"
],
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"list": {
"description": "Lists all the enabled Built-In Variables of a GTM Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/built_in_variables",
"response": {
"$ref": "ListEnabledBuiltInVariablesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Built-In Variables in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/built_in_variables:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.built_in_variables.revert",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM BuiltInVariable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
},
"type": {
"description": "The type of built-in variable to revert.",
"enum": [
"builtInVariableTypeUnspecified",
"pageUrl",
"pageHostname",
"pagePath",
"referrer",
"event",
"clickElement",
"clickClasses",
"clickId",
"clickTarget",
"clickUrl",
"clickText",
"firstPartyServingUrl",
"formElement",
"formClasses",
"formId",
"formTarget",
"formUrl",
"formText",
"errorMessage",
"errorUrl",
"errorLine",
"newHistoryUrl",
"oldHistoryUrl",
"newHistoryFragment",
"oldHistoryFragment",
"newHistoryState",
"oldHistoryState",
"historySource",
"containerVersion",
"debugMode",
"randomNumber",
"containerId",
"appId",
"appName",
"appVersionCode",
"appVersionName",
"language",
"osVersion",
"platform",
"sdkVersion",
"deviceName",
"resolution",
"advertiserId",
"advertisingTrackingEnabled",
"htmlId",
"environmentName",
"ampBrowserLanguage",
"ampCanonicalPath",
"ampCanonicalUrl",
"ampCanonicalHost",
"ampReferrer",
"ampTitle",
"ampClientId",
"ampClientTimezone",
"ampClientTimestamp",
"ampClientScreenWidth",
"ampClientScreenHeight",
"ampClientScrollX",
"ampClientScrollY",
"ampClientMaxScrollX",
"ampClientMaxScrollY",
"ampTotalEngagedTime",
"ampPageViewId",
"ampPageLoadTime",
"ampPageDownloadTime",
"ampGtmEvent",
"eventName",
"firebaseEventParameterCampaign",
"firebaseEventParameterCampaignAclid",
"firebaseEventParameterCampaignAnid",
"firebaseEventParameterCampaignClickTimestamp",
"firebaseEventParameterCampaignContent",
"firebaseEventParameterCampaignCp1",
"firebaseEventParameterCampaignGclid",
"firebaseEventParameterCampaignSource",
"firebaseEventParameterCampaignTerm",
"firebaseEventParameterCurrency",
"firebaseEventParameterDynamicLinkAcceptTime",
"firebaseEventParameterDynamicLinkLinkid",
"firebaseEventParameterNotificationMessageDeviceTime",
"firebaseEventParameterNotificationMessageId",
"firebaseEventParameterNotificationMessageName",
"firebaseEventParameterNotificationMessageTime",
"firebaseEventParameterNotificationTopic",
"firebaseEventParameterPreviousAppVersion",
"firebaseEventParameterPreviousOsVersion",
"firebaseEventParameterPrice",
"firebaseEventParameterProductId",
"firebaseEventParameterQuantity",
"firebaseEventParameterValue",
"videoProvider",
"videoUrl",
"videoTitle",
"videoDuration",
"videoPercent",
"videoVisible",
"videoStatus",
"videoCurrentTime",
"scrollDepthThreshold",
"scrollDepthUnits",
"scrollDepthDirection",
"elementVisibilityRatio",
"elementVisibilityTime",
"elementVisibilityFirstTime",
"elementVisibilityRecentTime",
"requestPath",
"requestMethod",
"clientName",
"queryString"
],
"location": "query",
"type": "string"
}
},
"path": "tagmanager/v2/{+path}/built_in_variables:revert",
"response": {
"$ref": "RevertBuiltInVariableResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"folders": {
"methods": {
"create": {
"description": "Creates a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/folders",
"request": {
"$ref": "Folder"
},
"response": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.folders.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"entities": {
"description": "List all entities in a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:entities",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.entities",
"parameterOrder": [
"path"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:entities",
"response": {
"$ref": "FolderEntities"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"get": {
"description": "Gets a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.folders.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Folders of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.folders.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/folders",
"response": {
"$ref": "ListFoldersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"move_entities_to_folder": {
"description": "Moves entities to a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:move_entities_to_folder",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
},
"tagId": {
"description": "The tags to be moved to the folder.",
"location": "query",
"repeated": true,
"type": "string"
},
"triggerId": {
"description": "The triggers to be moved to the folder.",
"location": "query",
"repeated": true,
"type": "string"
},
"variableId": {
"description": "The variables to be moved to the folder.",
"location": "query",
"repeated": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:move_entities_to_folder",
"request": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"revert": {
"description": "Reverts changes to a GTM Folder in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.folders.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the tag\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertFolderResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Folder.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/folders/{foldersId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.folders.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the folder in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Folder"
},
"response": {
"$ref": "Folder"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"tags": {
"methods": {
"create": {
"description": "Creates a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.tags.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/tags",
"request": {
"$ref": "Tag"
},
"response": {
"$ref": "Tag"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.tags.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.tags.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Tag"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Tags of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.tags.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/tags",
"response": {
"$ref": "ListTagsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Tag in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.tags.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of thetag\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertTagResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Tag.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/tags/{tagsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.tags.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the tag in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Tag's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/tags/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Tag"
},
"response": {
"$ref": "Tag"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"templates": {
"methods": {
"create": {
"description": "Creates a GTM Custom Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.templates.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/templates",
"request": {
"$ref": "CustomTemplate"
},
"response": {
"$ref": "CustomTemplate"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.templates.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.templates.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "CustomTemplate"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Templates of a GTM container workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.templates.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/templates",
"response": {
"$ref": "ListTemplatesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Template in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.templates.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the template\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertTemplateResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Template.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/templates/{templatesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.templates.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the templates\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Custom Template's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/templates/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "CustomTemplate"
},
"response": {
"$ref": "CustomTemplate"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"triggers": {
"methods": {
"create": {
"description": "Creates a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.triggers.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspaces's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/triggers",
"request": {
"$ref": "Trigger"
},
"response": {
"$ref": "Trigger"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.triggers.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.triggers.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Trigger"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Triggers of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.triggers.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspaces's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/triggers",
"response": {
"$ref": "ListTriggersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Trigger in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.triggers.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the trigger\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertTriggerResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Trigger.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/triggers/{triggersId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.triggers.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the trigger\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Trigger's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/triggers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Trigger"
},
"response": {
"$ref": "Trigger"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"variables": {
"methods": {
"create": {
"description": "Creates a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.variables.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/variables",
"request": {
"$ref": "Variable"
},
"response": {
"$ref": "Variable"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.variables.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.variables.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Variable"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Variables of a Container.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.variables.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/variables",
"response": {
"$ref": "ListVariablesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Variable in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.variables.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the variable\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertVariableResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Variable.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/variables/{variablesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.variables.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the variable\nin storage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Variable's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/variables/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Variable"
},
"response": {
"$ref": "Variable"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
},
"zones": {
"methods": {
"create": {
"description": "Creates a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.zones.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/zones",
"request": {
"$ref": "Zone"
},
"response": {
"$ref": "Zone"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"delete": {
"description": "Deletes a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.containers.workspaces.zones.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"get": {
"description": "Gets a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.zones.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "Zone"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"list": {
"description": "Lists all GTM Zones of a GTM container workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones",
"httpMethod": "GET",
"id": "tagmanager.accounts.containers.workspaces.zones.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Workspace's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/zones",
"response": {
"$ref": "ListZonesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers",
"https://www.googleapis.com/auth/tagmanager.readonly"
]
},
"revert": {
"description": "Reverts changes to a GTM Zone in a GTM Workspace.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}:revert",
"httpMethod": "POST",
"id": "tagmanager.accounts.containers.workspaces.zones.revert",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the zone in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}:revert",
"response": {
"$ref": "RevertZoneResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
},
"update": {
"description": "Updates a GTM Zone.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/zones/{zonesId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.containers.workspaces.zones.update",
"parameterOrder": [
"path"
],
"parameters": {
"fingerprint": {
"description": "When provided, this fingerprint must match the fingerprint of the zone in\nstorage.",
"location": "query",
"type": "string"
},
"path": {
"description": "GTM Zone's API relative path.\nExample:\naccounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/zones/{zone_id}",
"location": "path",
"pattern": "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/zones/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "Zone"
},
"response": {
"$ref": "Zone"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
}
}
}
}
},
"user_permissions": {
"methods": {
"create": {
"description": "Creates a user's Account \u0026 Container access.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions",
"httpMethod": "POST",
"id": "tagmanager.accounts.user_permissions.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "GTM Account's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/user_permissions",
"request": {
"$ref": "UserPermission"
},
"response": {
"$ref": "UserPermission"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
},
"delete": {
"description": "Removes a user from the account, revoking access to it and all of its\ncontainers.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}",
"httpMethod": "DELETE",
"id": "tagmanager.accounts.user_permissions.delete",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM UserPermission's API relative path.\nExample: accounts/{account_id}/user_permissions/{user_permission_id}",
"location": "path",
"pattern": "^accounts/[^/]+/user_permissions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
},
"get": {
"description": "Gets a user's Account \u0026 Container access.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}",
"httpMethod": "GET",
"id": "tagmanager.accounts.user_permissions.get",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM UserPermission's API relative path.\nExample: accounts/{account_id}/user_permissions/{user_permission_id}",
"location": "path",
"pattern": "^accounts/[^/]+/user_permissions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"response": {
"$ref": "UserPermission"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
},
"list": {
"description": "List all users that have access to the account along with Account and\nContainer user access granted to each of them.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions",
"httpMethod": "GET",
"id": "tagmanager.accounts.user_permissions.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageToken": {
"description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "GTM Accounts's API relative path.\nExample: accounts/{account_id}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+parent}/user_permissions",
"response": {
"$ref": "ListUserPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
},
"update": {
"description": "Updates a user's Account \u0026 Container access.",
"flatPath": "tagmanager/v2/accounts/{accountsId}/user_permissions/{user_permissionsId}",
"httpMethod": "PUT",
"id": "tagmanager.accounts.user_permissions.update",
"parameterOrder": [
"path"
],
"parameters": {
"path": {
"description": "GTM UserPermission's API relative path.\nExample: accounts/{account_id}/user_permissions/{user_permission_id}",
"location": "path",
"pattern": "^accounts/[^/]+/user_permissions/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "tagmanager/v2/{+path}",
"request": {
"$ref": "UserPermission"
},
"response": {
"$ref": "UserPermission"
},
"scopes": [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
}
}
}
}
}
},
"revision": "20200213",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
"description": "Represents a Google Tag Manager Account.",
"id": "Account",
"properties": {
"accountId": {
"description": "The Account ID uniquely identifies the GTM Account.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Account as computed at storage time.\nThis value is recomputed whenever the account is modified.",
"type": "string"
},
"name": {
"description": "Account display name.\n@mutable tagmanager.accounts.create\n@mutable tagmanager.accounts.update",
"type": "string"
},
"path": {
"description": "GTM Account's API relative path.",
"type": "string"
},
"shareData": {
"description": "Whether the account shares data anonymously with Google and others.\nThis flag enables benchmarking by sharing your data in an anonymous form.\nGoogle will remove all identifiable information about your website, combine\nthe data with hundreds of other anonymous sites and report aggregate trends\nin the benchmarking service.\n@mutable tagmanager.accounts.create\n@mutable tagmanager.accounts.update",
"type": "boolean"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
}
},
"type": "object"
},
"AccountAccess": {
"description": "Defines the Google Tag Manager Account access permissions.",
"id": "AccountAccess",
"properties": {
"permission": {
"description": "Whether the user has no access, user access, or admin access to an account.\n@mutable tagmanager.accounts.permissions.create\n@mutable tagmanager.accounts.permissions.update",
"enum": [
"accountPermissionUnspecified",
"noAccess",
"user",
"admin"
],
"enumDescriptions": [
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"BuiltInVariable": {
"description": "Built-in variables are a special category of variables that are pre-created\nand non-customizable. They provide common functionality like accessing\npropeties of the gtm data layer, monitoring clicks, or accessing elements\nof a page URL.",
"id": "BuiltInVariable",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"name": {
"description": "Name of the built-in variable to be used to refer to the built-in variable.",
"type": "string"
},
"path": {
"description": "GTM BuiltInVariable's API relative path.",
"type": "string"
},
"type": {
"description": "Type of built-in variable.\n@required.tagmanager.accounts.containers.workspaces.built_in_variable.update\n@mutable tagmanager.accounts.containers.workspaces.built_in_variable.update",
"enum": [
"builtInVariableTypeUnspecified",
"pageUrl",
"pageHostname",
"pagePath",
"referrer",
"event",
"clickElement",
"clickClasses",
"clickId",
"clickTarget",
"clickUrl",
"clickText",
"firstPartyServingUrl",
"formElement",
"formClasses",
"formId",
"formTarget",
"formUrl",
"formText",
"errorMessage",
"errorUrl",
"errorLine",
"newHistoryUrl",
"oldHistoryUrl",
"newHistoryFragment",
"oldHistoryFragment",
"newHistoryState",
"oldHistoryState",
"historySource",
"containerVersion",
"debugMode",
"randomNumber",
"containerId",
"appId",
"appName",
"appVersionCode",
"appVersionName",
"language",
"osVersion",
"platform",
"sdkVersion",
"deviceName",
"resolution",
"advertiserId",
"advertisingTrackingEnabled",
"htmlId",
"environmentName",
"ampBrowserLanguage",
"ampCanonicalPath",
"ampCanonicalUrl",
"ampCanonicalHost",
"ampReferrer",
"ampTitle",
"ampClientId",
"ampClientTimezone",
"ampClientTimestamp",
"ampClientScreenWidth",
"ampClientScreenHeight",
"ampClientScrollX",
"ampClientScrollY",
"ampClientMaxScrollX",
"ampClientMaxScrollY",
"ampTotalEngagedTime",
"ampPageViewId",
"ampPageLoadTime",
"ampPageDownloadTime",
"ampGtmEvent",
"eventName",
"firebaseEventParameterCampaign",
"firebaseEventParameterCampaignAclid",
"firebaseEventParameterCampaignAnid",
"firebaseEventParameterCampaignClickTimestamp",
"firebaseEventParameterCampaignContent",
"firebaseEventParameterCampaignCp1",
"firebaseEventParameterCampaignGclid",
"firebaseEventParameterCampaignSource",
"firebaseEventParameterCampaignTerm",
"firebaseEventParameterCurrency",
"firebaseEventParameterDynamicLinkAcceptTime",
"firebaseEventParameterDynamicLinkLinkid",
"firebaseEventParameterNotificationMessageDeviceTime",
"firebaseEventParameterNotificationMessageId",
"firebaseEventParameterNotificationMessageName",
"firebaseEventParameterNotificationMessageTime",
"firebaseEventParameterNotificationTopic",
"firebaseEventParameterPreviousAppVersion",
"firebaseEventParameterPreviousOsVersion",
"firebaseEventParameterPrice",
"firebaseEventParameterProductId",
"firebaseEventParameterQuantity",
"firebaseEventParameterValue",
"videoProvider",
"videoUrl",
"videoTitle",
"videoDuration",
"videoPercent",
"videoVisible",
"videoStatus",
"videoCurrentTime",
"scrollDepthThreshold",
"scrollDepthUnits",
"scrollDepthDirection",
"elementVisibilityRatio",
"elementVisibilityTime",
"elementVisibilityFirstTime",
"elementVisibilityRecentTime",
"requestPath",
"requestMethod",
"clientName",
"queryString"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"For web or mobile.",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"For web or mobile.",
"",
"For web or mobile.",
"For web or mobile.",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"Client": {
"id": "Client",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"clientId": {
"description": "The Client ID uniquely identifies the GTM client.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Client as computed at storage time.\nThis value is recomputed whenever the client is modified.",
"type": "string"
},
"name": {
"description": "Client display name.\n@mutable tagmanager.accounts.containers.workspaces.clients.create\n@mutable tagmanager.accounts.containers.workspaces.clients.update",
"type": "string"
},
"parameter": {
"description": "The client's parameters.\n@mutable tagmanager.accounts.containers.workspaces.clients.create\n@mutable tagmanager.accounts.containers.workspaces.clients.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"path": {
"description": "GTM client's API relative path.",
"type": "string"
},
"priority": {
"description": "Priority determines relative firing order.\n@mutable tagmanager.accounts.containers.workspaces.clients.create\n@mutable tagmanager.accounts.containers.workspaces.clients.update",
"format": "int32",
"type": "integer"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"type": {
"description": "Client type.\n@mutable tagmanager.accounts.containers.workspaces.clients.create\n@mutable tagmanager.accounts.containers.workspaces.clients.update",
"type": "string"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"Condition": {
"description": "Represents a predicate.",
"id": "Condition",
"properties": {
"parameter": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.triggers.create",
"tagmanager.accounts.containers.workspaces.triggers.update"
]
},
"description": "A list of named parameters (key/value), depending on the condition's type.\nNotes:\u003cul\u003e\n\u003cli\u003eFor binary operators, include parameters named \u003ccode\u003earg0\u003c/code\u003e and\n \u003ccode\u003earg1\u003c/code\u003e for specifying the left and right operands,\n respectively.\u003c/li\u003e\n\u003cli\u003eAt this time, the left operand (\u003ccode\u003earg0\u003c/code\u003e) must be a reference\n to a variable.\u003c/li\u003e\n\u003cli\u003eFor case-insensitive Regex matching, include a boolean parameter named\n \u003ccode\u003eignore_case\u003c/code\u003e that is set to \u003ccode\u003etrue\u003c/code\u003e.\n If not specified or set to any other value, the matching will be case\n sensitive.\u003c/li\u003e\n\u003cli\u003eTo negate an operator, include a boolean parameter named\n \u003ccode\u003enegate\u003c/code\u003e boolean parameter that is set to \u003ccode\u003etrue\u003c/code\u003e.\n \u003c/li\u003e\n\u003c/ul\u003e\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"type": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.triggers.create",
"tagmanager.accounts.containers.workspaces.triggers.update"
]
},
"description": "The type of operator for this condition.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"enum": [
"conditionTypeUnspecified",
"equals",
"contains",
"startsWith",
"endsWith",
"matchRegex",
"greater",
"greaterOrEquals",
"less",
"lessOrEquals",
"cssSelector",
"urlMatches"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"NOTE(lanzone): When defining a ConditionType here, don't forget to also\ndefine a matching PredicateType (in condition.proto)."
],
"type": "string"
}
},
"type": "object"
},
"Container": {
"description": "Represents a Google Tag Manager Container, which specifies the platform tags\nwill run on, manages workspaces, and retains container versions.",
"id": "Container",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "The Container ID uniquely identifies the GTM Container.",
"type": "string"
},
"domainName": {
"description": "List of domain names associated with the Container.\n@mutable tagmanager.accounts.containers.create\n@mutable tagmanager.accounts.containers.update",
"items": {
"type": "string"
},
"type": "array"
},
"fingerprint": {
"description": "The fingerprint of the GTM Container as computed at storage time. This\nvalue is recomputed whenever the account is modified.",
"type": "string"
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.create"
]
},
"description": "Container display name.\n@mutable tagmanager.accounts.containers.create\n@mutable tagmanager.accounts.containers.update",
"type": "string"
},
"notes": {
"description": "Container Notes.\n@mutable tagmanager.accounts.containers.create\n@mutable tagmanager.accounts.containers.update",
"type": "string"
},
"path": {
"description": "GTM Container's API relative path.",
"type": "string"
},
"publicId": {
"description": "Container Public ID.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"usageContext": {
"annotations": {
"required": [
"tagmanager.accounts.containers.create",
"tagmanager.accounts.containers.update"
]
},
"description": "List of Usage Contexts for the Container. Valid values include: \u003ccode\u003eweb,\nandroid, or ios\u003c/code\u003e.\n@mutable tagmanager.accounts.containers.create\n@mutable tagmanager.accounts.containers.update",
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
""
],
"items": {
"enum": [
"usageContextUnspecified",
"web",
"android",
"ios",
"androidSdk5",
"iosSdk5",
"amp"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ContainerAccess": {
"description": "Defines the Google Tag Manager Container access permissions.",
"id": "ContainerAccess",
"properties": {
"containerId": {
"description": "GTM Container ID.\n@mutable tagmanager.accounts.permissions.create\n@mutable tagmanager.accounts.permissions.update",
"type": "string"
},
"permission": {
"description": "List of Container permissions.\n@mutable tagmanager.accounts.permissions.create\n@mutable tagmanager.accounts.permissions.update",
"enum": [
"containerPermissionUnspecified",
"noAccess",
"read",
"edit",
"approve",
"publish"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"ContainerVersion": {
"description": "Represents a Google Tag Manager Container Version.",
"id": "ContainerVersion",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"builtInVariable": {
"description": "The built-in variables in the container that this version was taken from.",
"items": {
"$ref": "BuiltInVariable"
},
"type": "array"
},
"client": {
"description": "The clients in the container that this version was taken from.",
"items": {
"$ref": "Client"
},
"type": "array"
},
"container": {
"$ref": "Container",
"description": "The container that this version was taken from."
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"containerVersionId": {
"description": "The Container Version ID uniquely identifies the GTM Container Version.",
"type": "string"
},
"customTemplate": {
"description": "The custom templates in the container that this version was taken from.",
"items": {
"$ref": "CustomTemplate"
},
"type": "array"
},
"deleted": {
"description": "A value of true indicates this container version has been deleted.",
"type": "boolean"
},
"description": {
"description": "Container version description.\n@mutable tagmanager.accounts.containers.versions.update",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Container Version as computed at\nstorage time. This value is recomputed whenever the container version is\nmodified.",
"type": "string"
},
"folder": {
"description": "The folders in the container that this version was taken from.",
"items": {
"$ref": "Folder"
},
"type": "array"
},
"name": {
"description": "Container version display name.\n@mutable tagmanager.accounts.containers.versions.update",
"type": "string"
},
"path": {
"description": "GTM ContainerVersions's API relative path.",
"type": "string"
},
"tag": {
"description": "The tags in the container that this version was taken from.",
"items": {
"$ref": "Tag"
},
"type": "array"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"trigger": {
"description": "The triggers in the container that this version was taken from.",
"items": {
"$ref": "Trigger"
},
"type": "array"
},
"variable": {
"description": "The variables in the container that this version was taken from.",
"items": {
"$ref": "Variable"
},
"type": "array"
},
"zone": {
"description": "The zones in the container that this version was taken from.",
"items": {
"$ref": "Zone"
},
"type": "array"
}
},
"type": "object"
},
"ContainerVersionHeader": {
"description": "Represents a Google Tag Manager Container Version Header.",
"id": "ContainerVersionHeader",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"containerVersionId": {
"description": "The Container Version ID uniquely identifies the GTM Container Version.",
"type": "string"
},
"deleted": {
"description": "A value of true indicates this container version has been deleted.",
"type": "boolean"
},
"name": {
"description": "Container version display name.",
"type": "string"
},
"numCustomTemplates": {
"description": "Number of custom templates in the container version.",
"type": "string"
},
"numMacros": {
"description": "Number of macros in the container version.",
"type": "string"
},
"numRules": {
"description": "Number of rules in the container version.",
"type": "string"
},
"numTags": {
"description": "Number of tags in the container version.",
"type": "string"
},
"numTriggers": {
"description": "Number of triggers in the container version.",
"type": "string"
},
"numVariables": {
"description": "Number of variables in the container version.",
"type": "string"
},
"numZones": {
"description": "Number of zones in the container version.",
"type": "string"
},
"path": {
"description": "GTM Container Versions's API relative path.",
"type": "string"
}
},
"type": "object"
},
"CreateBuiltInVariableResponse": {
"id": "CreateBuiltInVariableResponse",
"properties": {
"builtInVariable": {
"description": "List of created built-in variables.",
"items": {
"$ref": "BuiltInVariable"
},
"type": "array"
}
},
"type": "object"
},
"CreateContainerVersionRequestVersionOptions": {
"description": "Options for new container versions.",
"id": "CreateContainerVersionRequestVersionOptions",
"properties": {
"name": {
"description": "The name of the container version to be created.",
"type": "string"
},
"notes": {
"description": "The notes of the container version to be created.",
"type": "string"
}
},
"type": "object"
},
"CreateContainerVersionResponse": {
"description": "Create container versions response.",
"id": "CreateContainerVersionResponse",
"properties": {
"compilerError": {
"description": "Compiler errors or not.",
"type": "boolean"
},
"containerVersion": {
"$ref": "ContainerVersion",
"description": "The container version created."
},
"newWorkspacePath": {
"description": "Auto generated workspace path created as a result of version creation. This\nfield should only be populated if the created version was not a quick\npreview.",
"type": "string"
},
"syncStatus": {
"$ref": "SyncStatus",
"description": "Whether version creation failed when syncing the workspace to the latest\ncontainer version."
}
},
"type": "object"
},
"CustomTemplate": {
"description": "Represents a Google Tag Manager Custom Template's contents.",
"id": "CustomTemplate",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Custom Template as computed at storage time.\nThis value is recomputed whenever the template is modified.",
"type": "string"
},
"galleryReference": {
"$ref": "GalleryReference",
"description": "A reference to the Community Template Gallery entry."
},
"name": {
"description": "Custom Template display name.",
"type": "string"
},
"path": {
"description": "GTM Custom Template's API relative path.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"templateData": {
"description": "The custom template in text format.",
"type": "string"
},
"templateId": {
"description": "The Custom Template ID uniquely identifies the GTM custom template.",
"type": "string"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"Entity": {
"description": "A workspace entity that may represent a tag, trigger, variable, or folder in\naddition to its status in the workspace.",
"id": "Entity",
"properties": {
"changeStatus": {
"description": "Represents how the entity has been changed in the workspace.",
"enum": [
"changeStatusUnspecified",
"none",
"added",
"deleted",
"updated"
],
"enumDescriptions": [
"",
"The entity has never been changed.",
"The entity is added to the workspace.",
"The entity is deleted from the workspace.",
"The entity has been updated in the workspace."
],
"type": "string"
},
"folder": {
"$ref": "Folder",
"description": "The Folder being represented by the entity."
},
"tag": {
"$ref": "Tag",
"description": "The tag being represented by the entity."
},
"trigger": {
"$ref": "Trigger",
"description": "The trigger being represented by the entity."
},
"variable": {
"$ref": "Variable",
"description": "The variable being represented by the entity."
}
},
"type": "object"
},
"Environment": {
"description": "Represents a Google Tag Manager Environment. Note that a user can create,\ndelete and update environments of type USER, but can only update the\nenable_debug and url fields of environments of other types.",
"id": "Environment",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"authorizationCode": {
"description": "The environment authorization code.",
"type": "string"
},
"authorizationTimestamp": {
"description": "The last update time-stamp for the authorization code.",
"format": "google-datetime",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"containerVersionId": {
"description": "Represents a link to a container version.",
"type": "string"
},
"description": {
"description": "The environment description. Can be set or changed only on USER type\nenvironments.\n@mutable tagmanager.accounts.containers.environments.create\n@mutable tagmanager.accounts.containers.environments.update",
"type": "string"
},
"enableDebug": {
"description": "Whether or not to enable debug by default for the environment.\n@mutable tagmanager.accounts.containers.environments.create\n@mutable tagmanager.accounts.containers.environments.update",
"type": "boolean"
},
"environmentId": {
"description": "GTM Environment ID uniquely identifies the GTM Environment.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM environment as computed at storage time.\nThis value is recomputed whenever the environment is modified.",
"type": "string"
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.environments.create",
"tagmanager.accounts.containers.environments.update"
]
},
"description": "The environment display name. Can be set or changed only on USER type\nenvironments.\n@mutable tagmanager.accounts.containers.environments.create\n@mutable tagmanager.accounts.containers.environments.update",
"type": "string"
},
"path": {
"description": "GTM Environment's API relative path.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"type": {
"description": "The type of this environment.",
"enum": [
"user",
"live",
"latest",
"workspace"
],
"enumDescriptions": [
"Points to a user defined environment.",
"Points to the current live container version.",
"Points to the latest container version.",
"Automatically managed environment that points to a workspace preview or\nversion created by a workspace."
],
"type": "string"
},
"url": {
"description": "Default preview page url for the environment.\n@mutable tagmanager.accounts.containers.environments.create\n@mutable tagmanager.accounts.containers.environments.update",
"type": "string"
},
"workspaceId": {
"description": "Represents a link to a quick preview of a workspace.",
"type": "string"
}
},
"type": "object"
},
"Folder": {
"description": "Represents a Google Tag Manager Folder.",
"id": "Folder",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Folder as computed at storage time.\nThis value is recomputed whenever the folder is modified.",
"type": "string"
},
"folderId": {
"description": "The Folder ID uniquely identifies the GTM Folder.",
"type": "string"
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.folders.create",
"tagmanager.accounts.containers.workspaces.folders.update"
]
},
"description": "Folder display name.\n@mutable tagmanager.accounts.containers.workspaces.folders.create\n@mutable tagmanager.accounts.containers.workspaces.folders.update",
"type": "string"
},
"notes": {
"description": "User notes on how to apply this folder in the container.\n@mutable tagmanager.accounts.containers.workspaces.folders.create\n@mutable tagmanager.accounts.containers.workspaces.folders.update",
"type": "string"
},
"path": {
"description": "GTM Folder's API relative path.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"FolderEntities": {
"description": "Represents a Google Tag Manager Folder's contents.",
"id": "FolderEntities",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"tag": {
"description": "The list of tags inside the folder.",
"items": {
"$ref": "Tag"
},
"type": "array"
},
"trigger": {
"description": "The list of triggers inside the folder.",
"items": {
"$ref": "Trigger"
},
"type": "array"
},
"variable": {
"description": "The list of variables inside the folder.",
"items": {
"$ref": "Variable"
},
"type": "array"
}
},
"type": "object"
},
"GalleryReference": {
"description": "Represents the link between a custom template and an entry on the Community\nTemplate Gallery site.",
"id": "GalleryReference",
"properties": {
"host": {
"description": "The name of the host for the community gallery template.",
"type": "string"
},
"isModified": {
"description": "If a user has manually edited the community gallery template.",
"type": "boolean"
},
"owner": {
"description": "The name of the owner for the community gallery template.",
"type": "string"
},
"repository": {
"description": "The name of the repository for the community gallery template.",
"type": "string"
},
"signature": {
"description": "The signature of the community gallery template as computed at import time.\nThis value is recomputed whenever the template is updated from the gallery.",
"type": "string"
},
"version": {
"description": "The version of the community gallery template.",
"type": "string"
}
},
"type": "object"
},
"GetWorkspaceStatusResponse": {
"description": "The changes that have occurred in the workspace since the base container\nversion.",
"id": "GetWorkspaceStatusResponse",
"properties": {
"mergeConflict": {
"description": "The merge conflict after sync.",
"items": {
"$ref": "MergeConflict"
},
"type": "array"
},
"workspaceChange": {
"description": "Entities that have been changed in the workspace.",
"items": {
"$ref": "Entity"
},
"type": "array"
}
},
"type": "object"
},
"ListAccountsResponse": {
"description": "List Accounts Response.",
"id": "ListAccountsResponse",
"properties": {
"account": {
"description": "List of GTM Accounts that a user has access to.",
"items": {
"$ref": "Account"
},
"type": "array"
},
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListContainerVersionsResponse": {
"description": "List container versions response.",
"id": "ListContainerVersionsResponse",
"properties": {
"containerVersionHeader": {
"description": "All container version headers of a GTM Container.",
"items": {
"$ref": "ContainerVersionHeader"
},
"type": "array"
},
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListContainersResponse": {
"description": "List Containers Response.",
"id": "ListContainersResponse",
"properties": {
"container": {
"description": "All Containers of a GTM Account.",
"items": {
"$ref": "Container"
},
"type": "array"
},
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListEnabledBuiltInVariablesResponse": {
"description": "A list of enabled built-in variables.",
"id": "ListEnabledBuiltInVariablesResponse",
"properties": {
"builtInVariable": {
"description": "All GTM BuiltInVariables of a GTM container.",
"items": {
"$ref": "BuiltInVariable"
},
"type": "array"
},
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListEnvironmentsResponse": {
"description": "List Environments Response.",
"id": "ListEnvironmentsResponse",
"properties": {
"environment": {
"description": "All Environments of a GTM Container.",
"items": {
"$ref": "Environment"
},
"type": "array"
},
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListFoldersResponse": {
"description": "List Folders Response.",
"id": "ListFoldersResponse",
"properties": {
"folder": {
"description": "All GTM Folders of a GTM Container.",
"items": {
"$ref": "Folder"
},
"type": "array"
},
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
}
},
"type": "object"
},
"ListTagsResponse": {
"description": "List Tags Response.",
"id": "ListTagsResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"tag": {
"description": "All GTM Tags of a GTM Container.",
"items": {
"$ref": "Tag"
},
"type": "array"
}
},
"type": "object"
},
"ListTemplatesResponse": {
"id": "ListTemplatesResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"template": {
"description": "All GTM Custom Templates of a GTM Container.",
"items": {
"$ref": "CustomTemplate"
},
"type": "array"
}
},
"type": "object"
},
"ListTriggersResponse": {
"description": "List triggers response.",
"id": "ListTriggersResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"trigger": {
"description": "All GTM Triggers of a GTM Container.",
"items": {
"$ref": "Trigger"
},
"type": "array"
}
},
"type": "object"
},
"ListUserPermissionsResponse": {
"description": "List user permissions response.",
"id": "ListUserPermissionsResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"userPermission": {
"description": "All GTM UserPermissions of a GTM Account.",
"items": {
"$ref": "UserPermission"
},
"type": "array"
}
},
"type": "object"
},
"ListVariablesResponse": {
"description": "List Variables Response.",
"id": "ListVariablesResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"variable": {
"description": "All GTM Variables of a GTM Container.",
"items": {
"$ref": "Variable"
},
"type": "array"
}
},
"type": "object"
},
"ListWorkspacesResponse": {
"description": "A list of workspaces in a container.",
"id": "ListWorkspacesResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"workspace": {
"description": "All Workspaces of a GTM Container.",
"items": {
"$ref": "Workspace"
},
"type": "array"
}
},
"type": "object"
},
"ListZonesResponse": {
"id": "ListZonesResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token for fetching the next page of results.",
"type": "string"
},
"zone": {
"description": "All GTM Zones of a GTM Container.",
"items": {
"$ref": "Zone"
},
"type": "array"
}
},
"type": "object"
},
"MergeConflict": {
"description": "Represents a merge conflict.",
"id": "MergeConflict",
"properties": {
"entityInBaseVersion": {
"$ref": "Entity",
"description": "The base version entity (since the latest sync operation) that has\nconflicting changes compared to the workspace. If this field is missing,\nit means the workspace entity is deleted from the base version."
},
"entityInWorkspace": {
"$ref": "Entity",
"description": "The workspace entity that has conflicting changes compared to the\nbase version. If an entity is deleted in a workspace, it will still\nappear with a deleted change status."
}
},
"type": "object"
},
"Parameter": {
"description": "Represents a Google Tag Manager Parameter.",
"id": "Parameter",
"properties": {
"key": {
"description": "The named key that uniquely identifies a parameter. Required for top-level\nparameters, as well as map values. Ignored for list values.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "string"
},
"list": {
"description": "This list parameter's parameters (keys will be ignored).\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"map": {
"description": "This map parameter's parameters (must have keys; keys must be unique).\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"type": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.tags.create",
"tagmanager.accounts.containers.workspaces.tags.update",
"tagmanager.accounts.containers.workspaces.triggers.create",
"tagmanager.accounts.containers.workspaces.triggers.update",
"tagmanager.accounts.containers.workspaces.variables.create",
"tagmanager.accounts.containers.workspaces.variables.update"
]
},
"description": "The parameter type. Valid values are:\u003cul\u003e\n\u003cli\u003e\u003ccode\u003eboolean\u003c/code\u003e: The value represents a boolean, represented as\n 'true' or 'false'\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003einteger\u003c/code\u003e: The value represents a 64-bit signed integer\n value, in base 10\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003elist\u003c/code\u003e: A list of parameters should be specified\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003emap\u003c/code\u003e: A map of parameters should be specified\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003etemplate\u003c/code\u003e: The value represents any text; this can include\n variable references (even variable references that might return\n non-string types)\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003etrigger_reference\u003c/code\u003e: The value represents a trigger,\n represented as the trigger id\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003etag_reference\u003c/code\u003e: The value represents a tag, represented as\n the tag name\u003c/li\u003e\n\u003c/ul\u003e\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"enum": [
"typeUnspecified",
"template",
"integer",
"boolean",
"list",
"map",
"triggerReference",
"tagReference"
],
"enumDescriptions": [
"",
"May include variable references (such as \"{{myVariable}}\").",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"value": {
"description": "A parameter's value (may contain variable references such as\n\"{{myVariable}}\")\nas appropriate to the specified type.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "string"
}
},
"type": "object"
},
"PublishContainerVersionResponse": {
"description": "Publish container version response.",
"id": "PublishContainerVersionResponse",
"properties": {
"compilerError": {
"description": "Compiler errors or not.",
"type": "boolean"
},
"containerVersion": {
"$ref": "ContainerVersion",
"description": "The container version created."
}
},
"type": "object"
},
"QuickPreviewResponse": {
"description": "Response to quick previewing a workspace.",
"id": "QuickPreviewResponse",
"properties": {
"compilerError": {
"description": "Were there compiler errors or not.",
"type": "boolean"
},
"containerVersion": {
"$ref": "ContainerVersion",
"description": "The quick previewed container version."
},
"syncStatus": {
"$ref": "SyncStatus",
"description": "Whether quick previewing failed when syncing the workspace to the latest\ncontainer version."
}
},
"type": "object"
},
"RevertBuiltInVariableResponse": {
"description": "The result of reverting a built-in variable in a workspace.",
"id": "RevertBuiltInVariableResponse",
"properties": {
"enabled": {
"description": "Whether the built-in variable is enabled after reversion.",
"type": "boolean"
}
},
"type": "object"
},
"RevertFolderResponse": {
"description": "The result of reverting folder changes in a workspace.",
"id": "RevertFolderResponse",
"properties": {
"folder": {
"$ref": "Folder",
"description": "Folder as it appears in the latest container version since the last\nworkspace synchronization operation. If no folder is present, that means\nthe folder was deleted in the latest container version."
}
},
"type": "object"
},
"RevertTagResponse": {
"description": "The result of reverting a tag in a workspace.",
"id": "RevertTagResponse",
"properties": {
"tag": {
"$ref": "Tag",
"description": "Tag as it appears in the latest container version since the last\nworkspace synchronization operation. If no tag is present, that means\nthe tag was deleted in the latest container version."
}
},
"type": "object"
},
"RevertTemplateResponse": {
"description": "The result of reverting a template in a workspace.",
"id": "RevertTemplateResponse",
"properties": {
"template": {
"$ref": "CustomTemplate",
"description": "Template as it appears in the latest container version since the last\nworkspace synchronization operation. If no template is present, that means\nthe template was deleted in the latest container version."
}
},
"type": "object"
},
"RevertTriggerResponse": {
"description": "The result of reverting a trigger in a workspace.",
"id": "RevertTriggerResponse",
"properties": {
"trigger": {
"$ref": "Trigger",
"description": "Trigger as it appears in the latest container version since the last\nworkspace synchronization operation. If no trigger is present, that means\nthe trigger was deleted in the latest container version."
}
},
"type": "object"
},
"RevertVariableResponse": {
"description": "The result of reverting a variable in a workspace.",
"id": "RevertVariableResponse",
"properties": {
"variable": {
"$ref": "Variable",
"description": "Variable as it appears in the latest container version since the last\nworkspace synchronization operation. If no variable is present, that means\nthe variable was deleted in the latest container version."
}
},
"type": "object"
},
"RevertZoneResponse": {
"description": "The result of reverting a zone in a workspace.",
"id": "RevertZoneResponse",
"properties": {
"zone": {
"$ref": "Zone",
"description": "Zone as it appears in the latest container version since the last\nworkspace synchronization operation. If no zone is present, that means\nthe zone was deleted in the latest container version."
}
},
"type": "object"
},
"SetupTag": {
"description": "Represents a reference to atag that fires before another tag in order to\nset up dependencies.",
"id": "SetupTag",
"properties": {
"stopOnSetupFailure": {
"description": "If true, fire the main tag if and only if the setup tag fires\nsuccessfully.\nIf false, fire the main tag regardless of setup tag firing status.",
"type": "boolean"
},
"tagName": {
"description": "The name of the setup tag.",
"type": "string"
}
},
"type": "object"
},
"SyncStatus": {
"description": "The status of a workspace after synchronization.",
"id": "SyncStatus",
"properties": {
"mergeConflict": {
"description": "Synchornization operation detected a merge conflict.",
"type": "boolean"
},
"syncError": {
"description": "An error occurred during the synchronization operation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncWorkspaceResponse": {
"description": "A response after synchronizing the workspace to the latest container version.",
"id": "SyncWorkspaceResponse",
"properties": {
"mergeConflict": {
"description": "The merge conflict after sync.\nIf this field is not empty, the sync is still treated as successful.\nBut a version cannot be created until all conflicts are resolved.",
"items": {
"$ref": "MergeConflict"
},
"type": "array"
},
"syncStatus": {
"$ref": "SyncStatus",
"description": "Indicates whether synchronization caused a merge conflict or sync error."
}
},
"type": "object"
},
"Tag": {
"description": "Represents a Google Tag Manager Tag.",
"id": "Tag",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"blockingRuleId": {
"description": "Blocking rule IDs. If any of the listed rules evaluate to true, the tag\n will not fire.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"type": "string"
},
"type": "array"
},
"blockingTriggerId": {
"description": "Blocking trigger IDs. If any of the listed triggers evaluate to true, the\ntag will not fire.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"type": "string"
},
"type": "array"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Tag as computed at storage time.\nThis value is recomputed whenever the tag is modified.",
"type": "string"
},
"firingRuleId": {
"description": "Firing rule IDs. A tag will fire when any of the listed rules are true and\n all of its \u003ccode\u003eblockingRuleIds\u003c/code\u003e (if any specified) are false.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"type": "string"
},
"type": "array"
},
"firingTriggerId": {
"description": "Firing trigger IDs. A tag will fire when any of the listed triggers are\ntrue and all of its \u003ccode\u003eblockingTriggerIds\u003c/code\u003e (if any specified) are\nfalse.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"type": "string"
},
"type": "array"
},
"liveOnly": {
"description": "If set to true, this tag will only fire in the live environment (e.g. not\nin preview or debug mode).\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "boolean"
},
"monitoringMetadata": {
"$ref": "Parameter",
"description": "A map of key-value pairs of tag metadata to be included in the event data\nfor tag monitoring.\nNotes:\u003cul\u003e\n\u003cli\u003eThis parameter must be type \u003ccode\u003eMAP\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eEach parameter in the map are type \u003ccode\u003eTEMPLATE\u003c/code\u003e, however\ncannot contain variable references.\u003c/li\u003e\n\u003c/ul\u003e\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update"
},
"monitoringMetadataTagNameKey": {
"description": "If non-empty, then the tag display name will be included in the monitoring\nmetadata map using the key specified.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "string"
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.tags.create",
"tagmanager.accounts.containers.workspaces.tags.update"
]
},
"description": "Tag display name.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "string"
},
"notes": {
"description": "User notes on how to apply this tag in the container.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "string"
},
"parameter": {
"description": "The tag's parameters.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"parentFolderId": {
"description": "Parent folder id.",
"type": "string"
},
"path": {
"description": "GTM Tag's API relative path.",
"type": "string"
},
"paused": {
"description": "Indicates whether the tag is paused, which prevents the tag from firing.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "boolean"
},
"priority": {
"$ref": "Parameter",
"description": "User defined numeric priority of the tag. Tags are fired asynchronously in\norder of priority. Tags with higher numeric value fire first. A tag's\npriority can be a positive or negative value. The default value is 0.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update"
},
"scheduleEndMs": {
"description": "The end timestamp in milliseconds to schedule a tag.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"format": "int64",
"type": "string"
},
"scheduleStartMs": {
"description": "The start timestamp in milliseconds to schedule a tag.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"format": "int64",
"type": "string"
},
"setupTag": {
"description": "The list of setup tags. Currently we only allow one.",
"items": {
"$ref": "SetupTag"
},
"type": "array"
},
"tagFiringOption": {
"description": "Option to fire this tag.",
"enum": [
"tagFiringOptionUnspecified",
"unlimited",
"oncePerEvent",
"oncePerLoad"
],
"enumDescriptions": [
"",
"Tag can be fired multiple times per event.",
"Tag can only be fired per event but can be fired multiple times per load\n(e.g., app load or page load).",
"Tag can only be fired per load (e.g., app load or page load)."
],
"type": "string"
},
"tagId": {
"description": "The Tag ID uniquely identifies the GTM Tag.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"teardownTag": {
"description": "The list of teardown tags. Currently we only allow one.",
"items": {
"$ref": "TeardownTag"
},
"type": "array"
},
"type": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.tags.create",
"tagmanager.accounts.containers.workspaces.tags.update"
]
},
"description": "GTM Tag Type.\n@mutable tagmanager.accounts.containers.workspaces.tags.create\n@mutable tagmanager.accounts.containers.workspaces.tags.update",
"type": "string"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"TeardownTag": {
"description": "Represents a tag that fires after another tag in order to tear down\ndependencies.",
"id": "TeardownTag",
"properties": {
"stopTeardownOnFailure": {
"description": "If true, fire the teardown tag if and only if the main tag fires\nsuccessfully.\nIf false, fire the teardown tag regardless of main tag firing status.",
"type": "boolean"
},
"tagName": {
"description": "The name of the teardown tag.",
"type": "string"
}
},
"type": "object"
},
"Trigger": {
"description": "Represents a Google Tag Manager Trigger",
"id": "Trigger",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"autoEventFilter": {
"description": "Used in the case of auto event tracking.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"items": {
"$ref": "Condition"
},
"type": "array"
},
"checkValidation": {
"$ref": "Parameter",
"description": "Whether or not we should only fire tags if the form submit or link click\nevent is not cancelled by some other event handler (e.g. because of\nvalidation). Only valid for Form Submission and Link Click triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"continuousTimeMinMilliseconds": {
"$ref": "Parameter",
"description": "A visibility trigger minimum continuous visible time (in milliseconds).\nOnly valid for AMP Visibility trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"customEventFilter": {
"description": "Used in the case of custom event, which is fired iff all Conditions are\ntrue.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"items": {
"$ref": "Condition"
},
"type": "array"
},
"eventName": {
"$ref": "Parameter",
"description": "Name of the GTM event that is fired. Only valid for Timer triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"filter": {
"description": "The trigger will only fire iff all Conditions are true.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"items": {
"$ref": "Condition"
},
"type": "array"
},
"fingerprint": {
"description": "The fingerprint of the GTM Trigger as computed at storage time.\nThis value is recomputed whenever the trigger is modified.",
"type": "string"
},
"horizontalScrollPercentageList": {
"$ref": "Parameter",
"description": "List of integer percentage values for scroll triggers. The trigger will\nfire when each percentage is reached when the view is scrolled\nhorizontally. Only valid for AMP scroll triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"interval": {
"$ref": "Parameter",
"description": "Time between triggering recurring Timer Events (in milliseconds). Only\nvalid for Timer triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"intervalSeconds": {
"$ref": "Parameter",
"description": "Time between Timer Events to fire (in seconds). Only valid for AMP Timer\ntrigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"limit": {
"$ref": "Parameter",
"description": "Limit of the number of GTM events this Timer Trigger will fire. If no limit\nis set, we will continue to fire GTM events until the user leaves the page.\nOnly valid for Timer triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"maxTimerLengthSeconds": {
"$ref": "Parameter",
"description": "Max time to fire Timer Events (in seconds). Only valid for AMP Timer\ntrigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.triggers.create",
"tagmanager.accounts.containers.workspaces.triggers.update"
]
},
"description": "Trigger display name.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"type": "string"
},
"notes": {
"description": "User notes on how to apply this trigger in the container.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"type": "string"
},
"parameter": {
"description": "Additional parameters.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"parentFolderId": {
"description": "Parent folder id.",
"type": "string"
},
"path": {
"description": "GTM Trigger's API relative path.",
"type": "string"
},
"selector": {
"$ref": "Parameter",
"description": "A click trigger CSS selector (i.e. \"a\", \"button\" etc.). Only valid for AMP\nClick trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"totalTimeMinMilliseconds": {
"$ref": "Parameter",
"description": "A visibility trigger minimum total visible time (in milliseconds).\nOnly valid for AMP Visibility trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"triggerId": {
"description": "The Trigger ID uniquely identifies the GTM Trigger.",
"type": "string"
},
"type": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.triggers.create"
]
},
"description": "Defines the data layer event that causes this trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update",
"enum": [
"eventTypeUnspecified",
"pageview",
"domReady",
"windowLoaded",
"customEvent",
"triggerGroup",
"always",
"firebaseAppException",
"firebaseAppUpdate",
"firebaseCampaign",
"firebaseFirstOpen",
"firebaseInAppPurchase",
"firebaseNotificationDismiss",
"firebaseNotificationForeground",
"firebaseNotificationOpen",
"firebaseNotificationReceive",
"firebaseOsUpdate",
"firebaseSessionStart",
"firebaseUserEngagement",
"formSubmission",
"click",
"linkClick",
"jsError",
"historyChange",
"timer",
"ampClick",
"ampTimer",
"ampScroll",
"ampVisibility",
"youTubeVideo",
"scrollDepth",
"elementVisibility"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
},
"uniqueTriggerId": {
"$ref": "Parameter",
"description": "Globally unique id of the trigger that auto-generates this (a Form Submit,\nLink Click or Timer listener) if any. Used to make incompatible auto-events\nwork together with trigger filtering based on trigger ids. This value is\npopulated during output generation since the tags implied by triggers don't\nexist until then. Only valid for Form Submit, Link Click and Timer\ntriggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"verticalScrollPercentageList": {
"$ref": "Parameter",
"description": "List of integer percentage values for scroll triggers. The trigger will\nfire when each percentage is reached when the view is scrolled vertically.\nOnly valid for AMP scroll triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"visibilitySelector": {
"$ref": "Parameter",
"description": "A visibility trigger CSS selector (i.e. \"#id\"). Only valid for AMP\nVisibility trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"visiblePercentageMax": {
"$ref": "Parameter",
"description": "A visibility trigger maximum percent visibility. Only valid for AMP\nVisibility trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"visiblePercentageMin": {
"$ref": "Parameter",
"description": "A visibility trigger minimum percent visibility. Only valid for AMP\nVisibility trigger.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"waitForTags": {
"$ref": "Parameter",
"description": "Whether or not we should delay the form submissions or link opening\nuntil all of the tags have fired (by preventing the default\naction and later simulating the default action). Only valid for\nForm Submission and Link Click triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"waitForTagsTimeout": {
"$ref": "Parameter",
"description": "How long to wait (in milliseconds) for tags to fire when 'waits_for_tags'\nabove evaluates to \u003ccode\u003etrue\u003c/code\u003e. Only valid for Form Submission and\nLink Click triggers.\n@mutable tagmanager.accounts.containers.workspaces.triggers.create\n@mutable tagmanager.accounts.containers.workspaces.triggers.update"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"UserPermission": {
"description": "Represents a user's permissions to an account and its container.",
"id": "UserPermission",
"properties": {
"accountAccess": {
"$ref": "AccountAccess",
"description": "GTM Account access permissions.\n@mutable tagmanager.accounts.permissions.create\n@mutable tagmanager.accounts.permissions.update"
},
"accountId": {
"description": "The Account ID uniquely identifies the GTM Account.",
"type": "string"
},
"containerAccess": {
"description": "GTM Container access permissions.\n@mutable tagmanager.accounts.permissions.create\n@mutable tagmanager.accounts.permissions.update",
"items": {
"$ref": "ContainerAccess"
},
"type": "array"
},
"emailAddress": {
"description": "User's email address.\n@mutable tagmanager.accounts.permissions.create",
"type": "string"
},
"path": {
"description": "GTM UserPermission's API relative path.",
"type": "string"
}
},
"type": "object"
},
"Variable": {
"description": "Represents a Google Tag Manager Variable.",
"id": "Variable",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"disablingTriggerId": {
"description": "For mobile containers only: A list of trigger IDs for disabling conditional\nvariables; the variable is enabled if one of the enabling trigger is true\nwhile all the disabling trigger are false. Treated as an unordered set.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"items": {
"type": "string"
},
"type": "array"
},
"enablingTriggerId": {
"description": "For mobile containers only: A list of trigger IDs for enabling conditional\nvariables; the variable is enabled if one of the enabling triggers is true\nwhile all the disabling triggers are false. Treated as an unordered set.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"items": {
"type": "string"
},
"type": "array"
},
"fingerprint": {
"description": "The fingerprint of the GTM Variable as computed at storage time.\nThis value is recomputed whenever the variable is modified.",
"type": "string"
},
"formatValue": {
"$ref": "VariableFormatValue",
"description": "Option to convert a variable value to other value."
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.variables.create",
"tagmanager.accounts.containers.workspaces.variables.update"
]
},
"description": "Variable display name.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"type": "string"
},
"notes": {
"description": "User notes on how to apply this variable in the container.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"type": "string"
},
"parameter": {
"description": "The variable's parameters.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"items": {
"$ref": "Parameter"
},
"type": "array"
},
"parentFolderId": {
"description": "Parent folder id.",
"type": "string"
},
"path": {
"description": "GTM Variable's API relative path.",
"type": "string"
},
"scheduleEndMs": {
"description": "The end timestamp in milliseconds to schedule a variable.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"format": "int64",
"type": "string"
},
"scheduleStartMs": {
"description": "The start timestamp in milliseconds to schedule a variable.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"format": "int64",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"type": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.variables.create",
"tagmanager.accounts.containers.workspaces.variables.update"
]
},
"description": "GTM Variable Type.\n@mutable tagmanager.accounts.containers.workspaces.variables.create\n@mutable tagmanager.accounts.containers.workspaces.variables.update",
"type": "string"
},
"variableId": {
"description": "The Variable ID uniquely identifies the GTM Variable.",
"type": "string"
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
}
},
"type": "object"
},
"VariableFormatValue": {
"id": "VariableFormatValue",
"properties": {
"caseConversionType": {
"description": "The option to convert a string-type variable value to either lowercase or\nuppercase.",
"enum": [
"none",
"lowercase",
"uppercase"
],
"enumDescriptions": [
"",
"The option to convert a variable value to lowercase.",
"The option to convert a variable value to uppercase."
],
"type": "string"
},
"convertFalseToValue": {
"$ref": "Parameter",
"description": "The value to convert if a variable value is false."
},
"convertNullToValue": {
"$ref": "Parameter",
"description": "The value to convert if a variable value is null."
},
"convertTrueToValue": {
"$ref": "Parameter",
"description": "The value to convert if a variable value is true."
},
"convertUndefinedToValue": {
"$ref": "Parameter",
"description": "The value to convert if a variable value is undefined."
}
},
"type": "object"
},
"Workspace": {
"description": "Represents a Google Tag Manager Container Workspace.",
"id": "Workspace",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"description": {
"description": "Workspace description.\n@mutable tagmanager.accounts.containers.workspaces.create\n@mutable tagmanager.accounts.containers.workspaces.update",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Workspace as computed at storage time. This\nvalue is recomputed whenever the workspace is modified.",
"type": "string"
},
"name": {
"annotations": {
"required": [
"tagmanager.accounts.containers.workspaces.create",
"tagmanager.accounts.containers.workspaces.update"
]
},
"description": "Workspace display name.\n@mutable tagmanager.accounts.containers.workspaces.create\n@mutable tagmanager.accounts.containers.workspaces.update",
"type": "string"
},
"path": {
"description": "GTM Workspace's API relative path.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"workspaceId": {
"description": "The Workspace ID uniquely identifies the GTM Workspace.",
"type": "string"
}
},
"type": "object"
},
"Zone": {
"description": "Represents a Google Tag Manager Zone's contents.",
"id": "Zone",
"properties": {
"accountId": {
"description": "GTM Account ID.",
"type": "string"
},
"boundary": {
"$ref": "ZoneBoundary",
"description": "This Zone's boundary."
},
"childContainer": {
"description": "Containers that are children of this Zone.",
"items": {
"$ref": "ZoneChildContainer"
},
"type": "array"
},
"containerId": {
"description": "GTM Container ID.",
"type": "string"
},
"fingerprint": {
"description": "The fingerprint of the GTM Zone as computed at storage time.\nThis value is recomputed whenever the zone is modified.",
"type": "string"
},
"name": {
"description": "Zone display name.",
"type": "string"
},
"notes": {
"description": "User notes on how to apply this zone in the container.",
"type": "string"
},
"path": {
"description": "GTM Zone's API relative path.",
"type": "string"
},
"tagManagerUrl": {
"description": "Auto generated link to the tag manager UI",
"type": "string"
},
"typeRestriction": {
"$ref": "ZoneTypeRestriction",
"description": "This Zone's type restrictions."
},
"workspaceId": {
"description": "GTM Workspace ID.",
"type": "string"
},
"zoneId": {
"description": "The Zone ID uniquely identifies the GTM Zone.",
"type": "string"
}
},
"type": "object"
},
"ZoneBoundary": {
"description": "Represents a Zone's boundaries.",
"id": "ZoneBoundary",
"properties": {
"condition": {
"description": "The conditions that, when conjoined, make up the boundary.",
"items": {
"$ref": "Condition"
},
"type": "array"
},
"customEvaluationTriggerId": {
"description": "Custom evaluation trigger IDs. A zone will evaluate its boundary\nconditions when any of the listed triggers are true.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ZoneChildContainer": {
"description": "Represents a child container of a Zone.",
"id": "ZoneChildContainer",
"properties": {
"nickname": {
"description": "The zone's nickname for the child container.",
"type": "string"
},
"publicId": {
"description": "The child container's public id.",
"type": "string"
}
},
"type": "object"
},
"ZoneTypeRestriction": {
"description": "Represents a Zone's type restrictions.",
"id": "ZoneTypeRestriction",
"properties": {
"enable": {
"description": "True if type restrictions have been enabled for this Zone.",
"type": "boolean"
},
"whitelistedTypeId": {
"description": "List of type public ids that have been whitelisted for use in this Zone.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Tag Manager API",
"version": "v2"
}