2017-08-05 20:17:15 +02:00
{
2018-03-30 12:51:18 +02:00
"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"
}
}
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"basePath" : "/tagmanager/v2/" ,
"baseUrl" : "https://www.googleapis.com/tagmanager/v2/" ,
"batchPath" : "batch/tagmanager/v2" ,
"canonicalName" : "Tag Manager" ,
"description" : "Accesses Tag Manager accounts and containers." ,
"discoveryVersion" : "v1" ,
"documentationLink" : "https://developers.google.com/tag-manager/api/v2/" ,
"etag" : "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/haw81r2kBgXadQvfFtY6NHfr1P0\"" ,
"icons" : {
"x16" : "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png" ,
"x32" : "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"id" : "tagmanager:v2" ,
"kind" : "discovery#restDescription" ,
"name" : "tagmanager" ,
"ownerDomain" : "google.com" ,
"ownerName" : "Google" ,
"parameters" : {
"alt" : {
"default" : "json" ,
"description" : "Data format for the response." ,
2017-08-05 20:17:15 +02:00
"enum" : [
2018-03-30 12:51:18 +02:00
"json"
2017-08-05 20:17:15 +02:00
] ,
"enumDescriptions" : [
2018-03-30 12:51:18 +02:00
"Responses with Content-Type of application/json"
] ,
"location" : "query" ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"fields" : {
"description" : "Selector specifying which fields to include in a partial response." ,
"location" : "query" ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
"key" : {
2018-03-30 12:51:18 +02:00
"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" ,
2017-08-05 20:17:15 +02:00
"type" : "string"
} ,
2018-03-30 12:51:18 +02:00
"oauth_token" : {
"description" : "OAuth 2.0 token for the current user." ,
"location" : "query" ,
2017-08-05 20:17:15 +02:00
"type" : "string"
} ,
2018-03-30 12:51:18 +02:00
"prettyPrint" : {
"default" : "true" ,
"description" : "Returns response with indentations and line breaks." ,
"location" : "query" ,
"type" : "boolean"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"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. Overrides userIp if both are provided." ,
"location" : "query" ,
2017-08-05 20:17:15 +02:00
"type" : "string"
} ,
2018-03-30 12:51:18 +02:00
"userIp" : {
"description" : "IP address of the site where the request originates. Use this if you want to enforce per-user limits." ,
"location" : "query" ,
2017-08-05 20:17:15 +02:00
"type" : "string"
}
} ,
2018-03-30 12:51:18 +02:00
"protocol" : "rest" ,
"resources" : {
"accounts" : {
"methods" : {
"get" : {
"description" : "Gets a GTM Account." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Accounts's API relative path. Example: accounts/{account_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.list" ,
"parameters" : {
"pageToken" : {
"description" : "Continuation token for fetching the next page of results." ,
"location" : "query" ,
"type" : "string"
}
} ,
"path" : "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." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.update" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the account in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Accounts's API relative path. Example: accounts/{account_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Account"
} ,
"response" : {
"$ref" : "Account"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.manage.accounts"
]
}
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"resources" : {
"containers" : {
"methods" : {
"create" : {
"description" : "Creates a Container." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Account's API relative path. Example: accounts/{account_id}." ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/containers" ,
"request" : {
"$ref" : "Container"
} ,
"response" : {
"$ref" : "Container"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"delete" : {
"description" : "Deletes a Container." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.delete.containers"
]
} ,
"get" : {
"description" : "Gets a Container." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}." ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.containers.update" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the container in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.environments.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/environments" ,
"request" : {
"$ref" : "Environment"
} ,
"response" : {
"$ref" : "Environment"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"delete" : {
"description" : "Deletes a GTM Environment." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.environments.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"get" : {
"description" : "Gets a GTM Environment." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.environments.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/environments" ,
"response" : {
"$ref" : "ListEnvironmentsResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers" ,
"https://www.googleapis.com/auth/tagmanager.readonly"
]
} ,
"patch" : {
"description" : "Updates a GTM Environment. This method supports patch semantics." ,
"httpMethod" : "PATCH" ,
"id" : "tagmanager.accounts.containers.environments.patch" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the environment in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Environment"
} ,
"response" : {
"$ref" : "Environment"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"reauthorize" : {
"description" : "Re-generates the authorization code for a GTM Environment." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.environments.reauthorize" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:reauthorize" ,
"request" : {
"$ref" : "Environment"
} ,
"response" : {
"$ref" : "Environment"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.publish"
]
} ,
"update" : {
"description" : "Updates a GTM Environment." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.containers.environments.update" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the environment in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Environment's API relative path. Example: accounts/{account_id}/containers/{container_id}/environments/{environment_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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" ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.version_headers.latest" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.versions.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
} ,
"get" : {
"description" : "Gets a Container Version." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.versions.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"containerVersionId" : {
"description" : "The GTM ContainerVersion ID. Specify published to retrieve the currently published version." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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" ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.versions.live" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.versions.publish" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the container version in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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 detecting conflicts and errors." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.versions.set_latest" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:set_latest" ,
"response" : {
"$ref" : "ContainerVersion"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"undelete" : {
"description" : "Undeletes a Container Version." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.versions.undelete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:undelete" ,
"response" : {
"$ref" : "ContainerVersion"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
} ,
"update" : {
"description" : "Updates a Container Version." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.containers.versions.update" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the container version in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "ContainerVersion"
} ,
"response" : {
"$ref" : "ContainerVersion"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
}
}
} ,
"workspaces" : {
"methods" : {
"create" : {
"description" : "Creates a Workspace." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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, deletes the workspace, and sets the base container version to the newly created version." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.create_version" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:create_version" ,
"request" : {
"$ref" : "CreateContainerVersionRequestVersionOptions"
} ,
"response" : {
"$ref" : "CreateContainerVersionResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containerversions"
]
} ,
"delete" : {
"description" : "Deletes a Workspace." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.delete.containers"
]
} ,
"get" : {
"description" : "Gets a Workspace." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"response" : {
"$ref" : "Workspace"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers" ,
"https://www.googleapis.com/auth/tagmanager.readonly"
]
} ,
"getProposal" : {
"description" : "Gets a GTM Workspace Proposal." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.getProposal" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"response" : {
"$ref" : "WorkspaceProposal"
}
} ,
"getStatus" : {
"description" : "Finds conflicting and modified entities in the workspace." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.getStatus" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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 entities in the provided workspace." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.quick_preview" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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 resolved entity passed in the request." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.resolve_conflict" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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 unmodified workspace entities and displaying conflicts for modified entities." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.sync" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:sync" ,
"response" : {
"$ref" : "SyncWorkspaceResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"update" : {
"description" : "Updates a Workspace." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.containers.workspaces.update" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the workspace in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Workspace"
} ,
"response" : {
"$ref" : "Workspace"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"updateProposal" : {
"description" : "Updates a GTM Workspace Proposal." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.containers.workspaces.updateProposal" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "UpdateWorkspaceProposalRequest"
} ,
"response" : {
"$ref" : "WorkspaceProposal"
}
}
} ,
"resources" : {
"built_in_variables" : {
"methods" : {
"create" : {
"description" : "Creates one or more GTM 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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
} ,
"type" : {
"description" : "The types of built-in variables to enable." ,
"enum" : [
"advertiserId" ,
"advertisingTrackingEnabled" ,
"ampBrowserLanguage" ,
"ampCanonicalHost" ,
"ampCanonicalPath" ,
"ampCanonicalUrl" ,
"ampClientId" ,
"ampClientMaxScrollX" ,
"ampClientMaxScrollY" ,
"ampClientScreenHeight" ,
"ampClientScreenWidth" ,
"ampClientScrollX" ,
"ampClientScrollY" ,
"ampClientTimestamp" ,
"ampClientTimezone" ,
"ampGtmEvent" ,
"ampPageDownloadTime" ,
"ampPageLoadTime" ,
"ampPageViewId" ,
"ampReferrer" ,
"ampTitle" ,
"ampTotalEngagedTime" ,
"appId" ,
"appName" ,
"appVersionCode" ,
"appVersionName" ,
"builtInVariableTypeUnspecified" ,
"clickClasses" ,
"clickElement" ,
"clickId" ,
"clickTarget" ,
"clickText" ,
"clickUrl" ,
"containerId" ,
"containerVersion" ,
"debugMode" ,
"deviceName" ,
"elementVisibilityFirstTime" ,
"elementVisibilityRatio" ,
"elementVisibilityRecentTime" ,
"elementVisibilityTime" ,
"environmentName" ,
"errorLine" ,
"errorMessage" ,
"errorUrl" ,
"event" ,
"eventName" ,
"firebaseEventParameterCampaign" ,
"firebaseEventParameterCampaignAclid" ,
"firebaseEventParameterCampaignAnid" ,
"firebaseEventParameterCampaignClickTimestamp" ,
"firebaseEventParameterCampaignContent" ,
"firebaseEventParameterCampaignCp1" ,
"firebaseEventParameterCampaignGclid" ,
"firebaseEventParameterCampaignSource" ,
"firebaseEventParameterCampaignTerm" ,
"firebaseEventParameterCurrency" ,
"firebaseEventParameterDynamicLinkAcceptTime" ,
"firebaseEventParameterDynamicLinkLinkid" ,
"firebaseEventParameterNotificationMessageDeviceTime" ,
"firebaseEventParameterNotificationMessageId" ,
"firebaseEventParameterNotificationMessageName" ,
"firebaseEventParameterNotificationMessageTime" ,
"firebaseEventParameterNotificationTopic" ,
"firebaseEventParameterPreviousAppVersion" ,
"firebaseEventParameterPreviousOsVersion" ,
"firebaseEventParameterPrice" ,
"firebaseEventParameterProductId" ,
"firebaseEventParameterQuantity" ,
"firebaseEventParameterValue" ,
"formClasses" ,
"formElement" ,
"formId" ,
"formTarget" ,
"formText" ,
"formUrl" ,
"historySource" ,
"htmlId" ,
"language" ,
"newHistoryFragment" ,
"newHistoryState" ,
"oldHistoryFragment" ,
"oldHistoryState" ,
"osVersion" ,
"pageHostname" ,
"pagePath" ,
"pageUrl" ,
"platform" ,
"randomNumber" ,
"referrer" ,
"resolution" ,
"scrollDepthDirection" ,
"scrollDepthThreshold" ,
"scrollDepthUnits" ,
"sdkVersion" ,
"videoCurrentTime" ,
"videoDuration" ,
"videoPercent" ,
"videoProvider" ,
"videoStatus" ,
"videoTitle" ,
"videoUrl" ,
"videoVisible"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"location" : "query" ,
"repeated" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.built_in_variables.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
} ,
"type" : {
"description" : "The types of built-in variables to delete." ,
"enum" : [
"advertiserId" ,
"advertisingTrackingEnabled" ,
"ampBrowserLanguage" ,
"ampCanonicalHost" ,
"ampCanonicalPath" ,
"ampCanonicalUrl" ,
"ampClientId" ,
"ampClientMaxScrollX" ,
"ampClientMaxScrollY" ,
"ampClientScreenHeight" ,
"ampClientScreenWidth" ,
"ampClientScrollX" ,
"ampClientScrollY" ,
"ampClientTimestamp" ,
"ampClientTimezone" ,
"ampGtmEvent" ,
"ampPageDownloadTime" ,
"ampPageLoadTime" ,
"ampPageViewId" ,
"ampReferrer" ,
"ampTitle" ,
"ampTotalEngagedTime" ,
"appId" ,
"appName" ,
"appVersionCode" ,
"appVersionName" ,
"builtInVariableTypeUnspecified" ,
"clickClasses" ,
"clickElement" ,
"clickId" ,
"clickTarget" ,
"clickText" ,
"clickUrl" ,
"containerId" ,
"containerVersion" ,
"debugMode" ,
"deviceName" ,
"elementVisibilityFirstTime" ,
"elementVisibilityRatio" ,
"elementVisibilityRecentTime" ,
"elementVisibilityTime" ,
"environmentName" ,
"errorLine" ,
"errorMessage" ,
"errorUrl" ,
"event" ,
"eventName" ,
"firebaseEventParameterCampaign" ,
"firebaseEventParameterCampaignAclid" ,
"firebaseEventParameterCampaignAnid" ,
"firebaseEventParameterCampaignClickTimestamp" ,
"firebaseEventParameterCampaignContent" ,
"firebaseEventParameterCampaignCp1" ,
"firebaseEventParameterCampaignGclid" ,
"firebaseEventParameterCampaignSource" ,
"firebaseEventParameterCampaignTerm" ,
"firebaseEventParameterCurrency" ,
"firebaseEventParameterDynamicLinkAcceptTime" ,
"firebaseEventParameterDynamicLinkLinkid" ,
"firebaseEventParameterNotificationMessageDeviceTime" ,
"firebaseEventParameterNotificationMessageId" ,
"firebaseEventParameterNotificationMessageName" ,
"firebaseEventParameterNotificationMessageTime" ,
"firebaseEventParameterNotificationTopic" ,
"firebaseEventParameterPreviousAppVersion" ,
"firebaseEventParameterPreviousOsVersion" ,
"firebaseEventParameterPrice" ,
"firebaseEventParameterProductId" ,
"firebaseEventParameterQuantity" ,
"firebaseEventParameterValue" ,
"formClasses" ,
"formElement" ,
"formId" ,
"formTarget" ,
"formText" ,
"formUrl" ,
"historySource" ,
"htmlId" ,
"language" ,
"newHistoryFragment" ,
"newHistoryState" ,
"oldHistoryFragment" ,
"oldHistoryState" ,
"osVersion" ,
"pageHostname" ,
"pagePath" ,
"pageUrl" ,
"platform" ,
"randomNumber" ,
"referrer" ,
"resolution" ,
"scrollDepthDirection" ,
"scrollDepthThreshold" ,
"scrollDepthUnits" ,
"sdkVersion" ,
"videoCurrentTime" ,
"videoDuration" ,
"videoPercent" ,
"videoProvider" ,
"videoStatus" ,
"videoTitle" ,
"videoUrl" ,
"videoVisible"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"location" : "query" ,
"repeated" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"list" : {
"description" : "Lists all the enabled Built-In Variables of a GTM Container." ,
"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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.built_in_variables.revert" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM BuiltInVariable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/built_in_variables" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
} ,
"type" : {
"description" : "The type of built-in variable to revert." ,
"enum" : [
"advertiserId" ,
"advertisingTrackingEnabled" ,
"ampBrowserLanguage" ,
"ampCanonicalHost" ,
"ampCanonicalPath" ,
"ampCanonicalUrl" ,
"ampClientId" ,
"ampClientMaxScrollX" ,
"ampClientMaxScrollY" ,
"ampClientScreenHeight" ,
"ampClientScreenWidth" ,
"ampClientScrollX" ,
"ampClientScrollY" ,
"ampClientTimestamp" ,
"ampClientTimezone" ,
"ampGtmEvent" ,
"ampPageDownloadTime" ,
"ampPageLoadTime" ,
"ampPageViewId" ,
"ampReferrer" ,
"ampTitle" ,
"ampTotalEngagedTime" ,
"appId" ,
"appName" ,
"appVersionCode" ,
"appVersionName" ,
"builtInVariableTypeUnspecified" ,
"clickClasses" ,
"clickElement" ,
"clickId" ,
"clickTarget" ,
"clickText" ,
"clickUrl" ,
"containerId" ,
"containerVersion" ,
"debugMode" ,
"deviceName" ,
"elementVisibilityFirstTime" ,
"elementVisibilityRatio" ,
"elementVisibilityRecentTime" ,
"elementVisibilityTime" ,
"environmentName" ,
"errorLine" ,
"errorMessage" ,
"errorUrl" ,
"event" ,
"eventName" ,
"firebaseEventParameterCampaign" ,
"firebaseEventParameterCampaignAclid" ,
"firebaseEventParameterCampaignAnid" ,
"firebaseEventParameterCampaignClickTimestamp" ,
"firebaseEventParameterCampaignContent" ,
"firebaseEventParameterCampaignCp1" ,
"firebaseEventParameterCampaignGclid" ,
"firebaseEventParameterCampaignSource" ,
"firebaseEventParameterCampaignTerm" ,
"firebaseEventParameterCurrency" ,
"firebaseEventParameterDynamicLinkAcceptTime" ,
"firebaseEventParameterDynamicLinkLinkid" ,
"firebaseEventParameterNotificationMessageDeviceTime" ,
"firebaseEventParameterNotificationMessageId" ,
"firebaseEventParameterNotificationMessageName" ,
"firebaseEventParameterNotificationMessageTime" ,
"firebaseEventParameterNotificationTopic" ,
"firebaseEventParameterPreviousAppVersion" ,
"firebaseEventParameterPreviousOsVersion" ,
"firebaseEventParameterPrice" ,
"firebaseEventParameterProductId" ,
"firebaseEventParameterQuantity" ,
"firebaseEventParameterValue" ,
"formClasses" ,
"formElement" ,
"formId" ,
"formTarget" ,
"formText" ,
"formUrl" ,
"historySource" ,
"htmlId" ,
"language" ,
"newHistoryFragment" ,
"newHistoryState" ,
"oldHistoryFragment" ,
"oldHistoryState" ,
"osVersion" ,
"pageHostname" ,
"pagePath" ,
"pageUrl" ,
"platform" ,
"randomNumber" ,
"referrer" ,
"resolution" ,
"scrollDepthDirection" ,
"scrollDepthThreshold" ,
"scrollDepthUnits" ,
"sdkVersion" ,
"videoCurrentTime" ,
"videoDuration" ,
"videoPercent" ,
"videoProvider" ,
"videoStatus" ,
"videoTitle" ,
"videoUrl" ,
"videoVisible"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"location" : "query" ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.folders.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/folders" ,
"request" : {
"$ref" : "Folder"
} ,
"response" : {
"$ref" : "Folder"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"delete" : {
"description" : "Deletes a GTM Folder." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.folders.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"entities" : {
"description" : "List all entities in a GTM Folder." ,
"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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.folders.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.folders.move_entities_to_folder" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}" ,
"location" : "path" ,
"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" : "{+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." ,
"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 in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:revert" ,
"response" : {
"$ref" : "RevertFolderResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"update" : {
"description" : "Updates a GTM Folder." ,
"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 storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Folder"
} ,
"response" : {
"$ref" : "Folder"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
} ,
"proposal" : {
"methods" : {
"create" : {
"description" : "Creates a GTM Workspace Proposal." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.proposal.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{aid}/containers/{cid}/workspace/{wid}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/proposal" ,
"request" : {
"$ref" : "CreateWorkspaceProposalRequest"
} ,
"response" : {
"$ref" : "WorkspaceProposal"
}
} ,
"delete" : {
"description" : "Deletes a GTM Workspace Proposal." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.proposal.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM workspace proposal's relative path: Example: accounts/{aid}/containers/{cid}/workspace/{wid}/workspace_proposal" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}"
}
}
} ,
"tags" : {
"methods" : {
"create" : {
"description" : "Creates a GTM Tag." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.tags.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/tags" ,
"request" : {
"$ref" : "Tag"
} ,
"response" : {
"$ref" : "Tag"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"delete" : {
"description" : "Deletes a GTM Tag." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.tags.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"get" : {
"description" : "Gets a GTM Tag." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.tags.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.tags.revert" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of thetag in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:revert" ,
"response" : {
"$ref" : "RevertTagResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"update" : {
"description" : "Updates a GTM Tag." ,
"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 storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Tag's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Tag"
} ,
"response" : {
"$ref" : "Tag"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
} ,
"triggers" : {
"methods" : {
"create" : {
"description" : "Creates a GTM Trigger." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.triggers.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/triggers" ,
"request" : {
"$ref" : "Trigger"
} ,
"response" : {
"$ref" : "Trigger"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"delete" : {
"description" : "Deletes a GTM Trigger." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.triggers.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"get" : {
"description" : "Gets a GTM Trigger." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.triggers.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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 in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:revert" ,
"response" : {
"$ref" : "RevertTriggerResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"update" : {
"description" : "Updates a GTM Trigger." ,
"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 in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Trigger"
} ,
"response" : {
"$ref" : "Trigger"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
} ,
"variables" : {
"methods" : {
"create" : {
"description" : "Creates a GTM Variable." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.containers.workspaces.variables.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+parent}/variables" ,
"request" : {
"$ref" : "Variable"
} ,
"response" : {
"$ref" : "Variable"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"delete" : {
"description" : "Deletes a GTM Variable." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.containers.workspaces.variables.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"get" : {
"description" : "Gets a GTM Variable." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.containers.workspaces.variables.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"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 in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}:revert" ,
"response" : {
"$ref" : "RevertVariableResponse"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
} ,
"update" : {
"description" : "Updates a GTM Variable." ,
"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 in storage." ,
"location" : "query" ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Variable's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/variables/{variable_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "Variable"
} ,
"response" : {
"$ref" : "Variable"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.edit.containers"
]
}
}
}
}
}
}
} ,
"user_permissions" : {
"methods" : {
"create" : {
"description" : "Creates a user's Account \u0026 Container access." ,
"httpMethod" : "POST" ,
"id" : "tagmanager.accounts.user_permissions.create" ,
"parameterOrder" : [
"parent"
] ,
"parameters" : {
"parent" : {
"description" : "GTM Account's API relative path. Example: accounts/{account_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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 containers." ,
"httpMethod" : "DELETE" ,
"id" : "tagmanager.accounts.user_permissions.delete" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
} ,
"get" : {
"description" : "Gets a user's Account \u0026 Container access." ,
"httpMethod" : "GET" ,
"id" : "tagmanager.accounts.user_permissions.get" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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 Container user access granted to each of them." ,
"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. Example: accounts/{account_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+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." ,
"httpMethod" : "PUT" ,
"id" : "tagmanager.accounts.user_permissions.update" ,
"parameterOrder" : [
"path"
] ,
"parameters" : {
"path" : {
"description" : "GTM UserPermission's API relative path. Example: accounts/{account_id}/user_permissions/{user_permission_id}" ,
"location" : "path" ,
"required" : true ,
"type" : "string"
}
} ,
"path" : "{+path}" ,
"request" : {
"$ref" : "UserPermission"
} ,
"response" : {
"$ref" : "UserPermission"
} ,
"scopes" : [
"https://www.googleapis.com/auth/tagmanager.manage.users"
]
}
}
}
2017-08-05 20:17:15 +02:00
}
}
2018-03-30 12:51:18 +02:00
} ,
"revision" : "20171108" ,
"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. This value is recomputed whenever the account is modified." ,
"type" : "string"
} ,
"name" : {
"description" : "Account display name." ,
"type" : "string"
} ,
"path" : {
"description" : "GTM Account's API relative path." ,
"type" : "string"
} ,
"shareData" : {
"description" : "Whether the account shares data anonymously with Google and others. This flag enables benchmarking by sharing your data in an anonymous form. Google will remove all identifiable information about your website, combine the data with hundreds of other anonymous sites and report aggregate trends in the benchmarking service." ,
"type" : "boolean"
} ,
"tagManagerUrl" : {
"description" : "Auto generated link to the tag manager UI" ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"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." ,
"enum" : [
"accountPermissionUnspecified" ,
"admin" ,
"noAccess" ,
"user"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"BuiltInVariable" : {
"description" : "Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing propeties of the gtm data layer, monitoring clicks, or accessing elements of 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"
} ,
2017-08-05 20:17:15 +02:00
"path" : {
2018-03-30 12:51:18 +02:00
"description" : "GTM BuiltInVariable's API relative path." ,
"type" : "string"
} ,
"type" : {
"description" : "Type of built-in variable." ,
"enum" : [
"advertiserId" ,
"advertisingTrackingEnabled" ,
"ampBrowserLanguage" ,
"ampCanonicalHost" ,
"ampCanonicalPath" ,
"ampCanonicalUrl" ,
"ampClientId" ,
"ampClientMaxScrollX" ,
"ampClientMaxScrollY" ,
"ampClientScreenHeight" ,
"ampClientScreenWidth" ,
"ampClientScrollX" ,
"ampClientScrollY" ,
"ampClientTimestamp" ,
"ampClientTimezone" ,
"ampGtmEvent" ,
"ampPageDownloadTime" ,
"ampPageLoadTime" ,
"ampPageViewId" ,
"ampReferrer" ,
"ampTitle" ,
"ampTotalEngagedTime" ,
"appId" ,
"appName" ,
"appVersionCode" ,
"appVersionName" ,
"builtInVariableTypeUnspecified" ,
"clickClasses" ,
"clickElement" ,
"clickId" ,
"clickTarget" ,
"clickText" ,
"clickUrl" ,
"containerId" ,
"containerVersion" ,
"debugMode" ,
"deviceName" ,
"elementVisibilityFirstTime" ,
"elementVisibilityRatio" ,
"elementVisibilityRecentTime" ,
"elementVisibilityTime" ,
"environmentName" ,
"errorLine" ,
"errorMessage" ,
"errorUrl" ,
"event" ,
"eventName" ,
"firebaseEventParameterCampaign" ,
"firebaseEventParameterCampaignAclid" ,
"firebaseEventParameterCampaignAnid" ,
"firebaseEventParameterCampaignClickTimestamp" ,
"firebaseEventParameterCampaignContent" ,
"firebaseEventParameterCampaignCp1" ,
"firebaseEventParameterCampaignGclid" ,
"firebaseEventParameterCampaignSource" ,
"firebaseEventParameterCampaignTerm" ,
"firebaseEventParameterCurrency" ,
"firebaseEventParameterDynamicLinkAcceptTime" ,
"firebaseEventParameterDynamicLinkLinkid" ,
"firebaseEventParameterNotificationMessageDeviceTime" ,
"firebaseEventParameterNotificationMessageId" ,
"firebaseEventParameterNotificationMessageName" ,
"firebaseEventParameterNotificationMessageTime" ,
"firebaseEventParameterNotificationTopic" ,
"firebaseEventParameterPreviousAppVersion" ,
"firebaseEventParameterPreviousOsVersion" ,
"firebaseEventParameterPrice" ,
"firebaseEventParameterProductId" ,
"firebaseEventParameterQuantity" ,
"firebaseEventParameterValue" ,
"formClasses" ,
"formElement" ,
"formId" ,
"formTarget" ,
"formText" ,
"formUrl" ,
"historySource" ,
"htmlId" ,
"language" ,
"newHistoryFragment" ,
"newHistoryState" ,
"oldHistoryFragment" ,
"oldHistoryState" ,
"osVersion" ,
"pageHostname" ,
"pagePath" ,
"pageUrl" ,
"platform" ,
"randomNumber" ,
"referrer" ,
"resolution" ,
"scrollDepthDirection" ,
"scrollDepthThreshold" ,
"scrollDepthUnits" ,
"sdkVersion" ,
"videoCurrentTime" ,
"videoDuration" ,
"videoPercent" ,
"videoProvider" ,
"videoStatus" ,
"videoTitle" ,
"videoUrl" ,
"videoVisible"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
} ,
"workspaceId" : {
"description" : "GTM Workspace ID." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"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. Notes: \n- For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. \n- At this time, the left operand (arg0) must be a reference to a variable. \n- For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. \n- To negate an operator, include a boolean parameter named negate boolean parameter that is set to true." ,
"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." ,
"enum" : [
"conditionTypeUnspecified" ,
"contains" ,
"cssSelector" ,
"endsWith" ,
"equals" ,
"greater" ,
"greaterOrEquals" ,
"less" ,
"lessOrEquals" ,
"matchRegex" ,
"startsWith" ,
"urlMatches"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"Container" : {
"description" : "Represents a Google Tag Manager Container, which specifies the platform tags will 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." ,
"items" : {
"type" : "string"
} ,
"type" : "array"
} ,
2017-08-05 20:17:15 +02:00
"fingerprint" : {
2018-03-30 12:51:18 +02:00
"description" : "The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified." ,
"type" : "string"
} ,
"name" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.create"
]
} ,
"description" : "Container display name." ,
"type" : "string"
} ,
"notes" : {
"description" : "Container Notes." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
"path" : {
2018-03-30 12:51:18 +02:00
"description" : "GTM Container's API relative path." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"publicId" : {
"description" : "Container Public ID." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"tagManagerUrl" : {
"description" : "Auto generated link to the tag manager UI" ,
"type" : "string"
} ,
"usageContext" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.create"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "List of Usage Contexts for the Container. Valid values include: web, android, or ios." ,
"items" : {
"enum" : [
"amp" ,
"android" ,
"androidSdk5" ,
"ios" ,
"iosSdk5" ,
"usageContextUnspecified" ,
"web"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
}
} ,
"type" : "object"
} ,
"ContainerAccess" : {
"description" : "Defines the Google Tag Manager Container access permissions." ,
"id" : "ContainerAccess" ,
"properties" : {
"containerId" : {
"description" : "GTM Container ID." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"permission" : {
"description" : "List of Container permissions." ,
"enum" : [
"approve" ,
"containerPermissionUnspecified" ,
"edit" ,
"noAccess" ,
"publish" ,
"read"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"ContainerVersion" : {
"description" : "Represents a Google Tag Manager Container Version." ,
"id" : "ContainerVersion" ,
"properties" : {
"accountId" : {
"description" : "GTM Account ID." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"builtInVariable" : {
"description" : "The built-in variables in the container that this version was taken from." ,
"items" : {
"$ref" : "BuiltInVariable"
} ,
"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"
} ,
"deleted" : {
"description" : "A value of true indicates this container version has been deleted." ,
"type" : "boolean"
} ,
"description" : {
"description" : "Container version description." ,
"type" : "string"
} ,
"fingerprint" : {
"description" : "The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified." ,
"type" : "string"
} ,
"folder" : {
"description" : "The folders in the container that this version was taken from." ,
"items" : {
"$ref" : "Folder"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"name" : {
"description" : "Container version display name." ,
"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"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"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"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"variable" : {
"description" : "The variables in the container that this version was taken from." ,
"items" : {
"$ref" : "Variable"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"zone" : {
"description" : "The zones in the container that this version was taken from." ,
"items" : {
"$ref" : "Zone"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"ContainerVersionHeader" : {
"description" : "Represents a Google Tag Manager Container Version Header." ,
"id" : "ContainerVersionHeader" ,
"properties" : {
"accountId" : {
"description" : "GTM Account ID." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"containerId" : {
"description" : "GTM Container ID." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"containerVersionId" : {
"description" : "The Container Version ID uniquely identifies the GTM Container Version." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"deleted" : {
"description" : "A value of true indicates this container version has been deleted." ,
"type" : "boolean"
} ,
"name" : {
"description" : "Container version display name." ,
"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"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
2017-08-05 20:17:15 +02:00
}
2018-03-30 12:51:18 +02:00
} ,
"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 field should only be populated if the created version was not a quick preview." ,
"type" : "string"
} ,
"syncStatus" : {
"$ref" : "SyncStatus" ,
"description" : "Whether version creation failed when syncing the workspace to the latest container version."
}
} ,
"type" : "object"
} ,
"CreateWorkspaceProposalRequest" : {
"description" : "Creates a workspace proposal to start a review of a workspace." ,
"id" : "CreateWorkspaceProposalRequest" ,
"properties" : {
"initialComment" : {
"$ref" : "WorkspaceProposalHistoryComment" ,
"description" : "If present, an initial comment to associate with the workspace proposal."
} ,
"reviewers" : {
"description" : "List of users to review the workspace proposal." ,
"items" : {
"$ref" : "WorkspaceProposalUser"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
}
} ,
"type" : "object"
} ,
"Entity" : {
"description" : "A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace." ,
"id" : "Entity" ,
"properties" : {
"changeStatus" : {
"description" : "Represents how the entity has been changed in the workspace." ,
"enum" : [
"added" ,
"changeStatusUnspecified" ,
"deleted" ,
"none" ,
"updated"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
""
] ,
"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, delete and update environments of type USER, but can only update the enable_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" : {
"$ref" : "Timestamp" ,
"description" : "The last update time-stamp for the authorization code."
} ,
"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 environments." ,
"type" : "string"
} ,
"enableDebug" : {
"description" : "Whether or not to enable debug by default for the environment." ,
"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. This value is recomputed whenever the environment is modified." ,
"type" : "string"
} ,
"name" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.environments.create" ,
"tagmanager.accounts.containers.environments.update"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "The environment display name. Can be set or changed only on USER type environments." ,
"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" : [
"latest" ,
"live" ,
"user" ,
"workspace"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
} ,
"url" : {
"description" : "Default preview page url for the environment." ,
"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. This 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"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "Folder display name." ,
"type" : "string"
} ,
"notes" : {
"description" : "User notes on how to apply this folder in the container." ,
"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"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"trigger" : {
"description" : "The list of triggers inside the folder." ,
"items" : {
"$ref" : "Trigger"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"variable" : {
"description" : "The list of variables inside the folder." ,
"items" : {
"$ref" : "Variable"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
}
} ,
"type" : "object"
} ,
"GetWorkspaceStatusResponse" : {
"description" : "The changes that have occurred in the workspace since the base container version." ,
"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" : {
2017-08-05 20:17:15 +02:00
"$ref" : "Folder"
} ,
2018-03-30 12:51:18 +02:00
"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"
} ,
"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"
} ,
"MergeConflict" : {
"description" : "Represents a merge conflict." ,
"id" : "MergeConflict" ,
"properties" : {
"entityInBaseVersion" : {
"$ref" : "Entity" ,
"description" : "The base version entity (since the latest sync operation) that has conflicting changes compared to the workspace. If this field is missing, it means the workspace entity is deleted from the base version."
} ,
"entityInWorkspace" : {
"$ref" : "Entity" ,
"description" : "The workspace entity that has conflicting changes compared to the base version. If an entity is deleted in a workspace, it will still appear 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 parameters, as well as map values. Ignored for list values." ,
"type" : "string"
} ,
"list" : {
"description" : "This list parameter's parameters (keys will be ignored)." ,
"items" : {
"$ref" : "Parameter"
} ,
"type" : "array"
} ,
"map" : {
"description" : "This map parameter's parameters (must have keys; keys must be unique)." ,
"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: \n- boolean: The value represents a boolean, represented as 'true' or 'false' \n- integer: The value represents a 64-bit signed integer value, in base 10 \n- list: A list of parameters should be specified \n- map: A map of parameters should be specified \n- template: The value represents any text; this can include variable references (even variable references that might return non-string types)" ,
"enum" : [
"boolean" ,
"integer" ,
"list" ,
"map" ,
"template" ,
"typeUnspecified"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
} ,
"value" : {
"description" : "A parameter's value (may contain variable references such as \"{{myVariable}}\") as appropriate to the specified type." ,
"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 container 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 workspace synchronization operation. If no folder is present, that means the 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 workspace synchronization operation. If no tag is present, that means the tag 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 workspace synchronization operation. If no trigger is present, that means the 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 workspace synchronization operation. If no variable is present, that means the variable was deleted in the latest container version."
}
} ,
"type" : "object"
} ,
"SetupTag" : {
"description" : "Represents a reference to atag that fires before another tag in order to set up dependencies." ,
"id" : "SetupTag" ,
"properties" : {
"stopOnSetupFailure" : {
"description" : "If true, fire the main tag if and only if the setup tag fires successfully. If 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. If this field is not empty, the sync is still treated as successful. But 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 will not fire." ,
"items" : {
"type" : "string"
} ,
"type" : "array"
} ,
"blockingTriggerId" : {
"description" : "Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire." ,
"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. This 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 all of its blockingRuleIds (if any specified) are false." ,
"items" : {
"type" : "string"
} ,
"type" : "array"
} ,
"firingTriggerId" : {
"description" : "Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false." ,
"items" : {
"type" : "string"
} ,
"type" : "array"
} ,
"liveOnly" : {
"description" : "If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode)." ,
"type" : "boolean"
} ,
"name" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.workspaces.tags.create" ,
"tagmanager.accounts.containers.workspaces.tags.update"
]
} ,
"description" : "Tag display name." ,
"type" : "string"
} ,
"notes" : {
"description" : "User notes on how to apply this tag in the container." ,
"type" : "string"
} ,
"parameter" : {
"description" : "The tag's parameters." ,
"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." ,
"type" : "boolean"
} ,
"priority" : {
"$ref" : "Parameter" ,
"description" : "User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0."
} ,
"scheduleEndMs" : {
"description" : "The end timestamp in milliseconds to schedule a tag." ,
"format" : "int64" ,
"type" : "string"
} ,
"scheduleStartMs" : {
"description" : "The start timestamp in milliseconds to schedule a tag." ,
"format" : "int64" ,
"type" : "string"
} ,
"setupTag" : {
"description" : "The list of setup tags. Currently we only allow one." ,
"items" : {
"$ref" : "SetupTag"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"tagFiringOption" : {
"description" : "Option to fire this tag." ,
"enum" : [
"oncePerEvent" ,
"oncePerLoad" ,
"tagFiringOptionUnspecified" ,
"unlimited"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
""
] ,
"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"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"type" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.workspaces.tags.create" ,
"tagmanager.accounts.containers.workspaces.tags.update"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "GTM Tag Type." ,
"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 dependencies." ,
"id" : "TeardownTag" ,
"properties" : {
"stopTeardownOnFailure" : {
"description" : "If true, fire the teardown tag if and only if the main tag fires successfully. If 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"
} ,
"Timestamp" : {
"description" : "A Timestamp represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are \"smeared\" so that no leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings. See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).\n\n# Examples\n\nExample 1: Compute Timestamp from POSIX `time()`.\n\nTimestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);\n\nExample 2: Compute Timestamp from POSIX `gettimeofday()`.\n\nstruct timeval tv; gettimeofday(\u0026tv, NULL);\n\nTimestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000);\n\nExample 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\nFILETIME ft; GetSystemTimeAsFileTime(\u0026ft); UINT64 ticks = (((UINT64)ft.dwHighDateTime) \u003c\u003c 32) | ft.dwLowDateTime;\n\n// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\nExample 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\nlong millis = System.currentTimeMillis();\n\nTimestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n\n\nExample 5: Compute Timestamp from current time in Python.\n\ntimestamp = Timestamp() timestamp.GetCurrentTime()\n\n# JSON Mapping\n\nIn JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" where {year} is always expressed using four digits while {month}, {day}, {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone is required, though only UTC (as indicated by \"Z\") is presently supported.\n\nFor example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past 01:30 UTC on January 15, 2017.\n\nIn JavaScript, one can convert a Date object to this format using the standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString] method. In Python, a standard `datetime.datetime` object can be converted to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a formatter capable of generating timestamps in this format." ,
"id" : "Timestamp" ,
"properties" : {
"nanos" : {
"description" : "Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive." ,
"format" : "int32" ,
"type" : "integer"
} ,
"seconds" : {
"description" : "Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive." ,
"format" : "int64" ,
"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." ,
"items" : {
"$ref" : "Condition"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"checkValidation" : {
"$ref" : "Parameter" ,
"description" : "Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers."
} ,
"containerId" : {
"description" : "GTM Container ID." ,
"type" : "string"
} ,
"continuousTimeMinMilliseconds" : {
"$ref" : "Parameter" ,
"description" : "A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger."
} ,
"customEventFilter" : {
"description" : "Used in the case of custom event, which is fired iff all Conditions are true." ,
"items" : {
"$ref" : "Condition"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"eventName" : {
"$ref" : "Parameter" ,
"description" : "Name of the GTM event that is fired. Only valid for Timer triggers."
} ,
"filter" : {
"description" : "The trigger will only fire iff all Conditions are true." ,
"items" : {
"$ref" : "Condition"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"fingerprint" : {
"description" : "The fingerprint of the GTM Trigger as computed at storage time. This 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 fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers."
} ,
"interval" : {
"$ref" : "Parameter" ,
"description" : "Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers."
} ,
"intervalSeconds" : {
"$ref" : "Parameter" ,
"description" : "Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger."
} ,
"limit" : {
"$ref" : "Parameter" ,
"description" : "Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers."
} ,
"maxTimerLengthSeconds" : {
"$ref" : "Parameter" ,
"description" : "Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger."
} ,
"name" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.workspaces.triggers.create" ,
"tagmanager.accounts.containers.workspaces.triggers.update"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "Trigger display name." ,
"type" : "string"
} ,
"notes" : {
"description" : "User notes on how to apply this trigger in the container." ,
"type" : "string"
} ,
"parameter" : {
"description" : "Additional parameters." ,
"items" : {
"$ref" : "Parameter"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"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 Click trigger."
} ,
"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). Only valid for AMP Visibility trigger."
} ,
"triggerId" : {
"description" : "The Trigger ID uniquely identifies the GTM Trigger." ,
"type" : "string"
} ,
"type" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.workspaces.triggers.create"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "Defines the data layer event that causes this trigger." ,
"enum" : [
"always" ,
"ampClick" ,
"ampScroll" ,
"ampTimer" ,
"ampVisibility" ,
"click" ,
"customEvent" ,
"domReady" ,
"elementVisibility" ,
"eventTypeUnspecified" ,
"firebaseAppException" ,
"firebaseAppUpdate" ,
"firebaseCampaign" ,
"firebaseFirstOpen" ,
"firebaseInAppPurchase" ,
"firebaseNotificationDismiss" ,
"firebaseNotificationForeground" ,
"firebaseNotificationOpen" ,
"firebaseNotificationReceive" ,
"firebaseOsUpdate" ,
"firebaseSessionStart" ,
"firebaseUserEngagement" ,
"formSubmission" ,
"historyChange" ,
"jsError" ,
"linkClick" ,
"pageview" ,
"scrollDepth" ,
"timer" ,
"windowLoaded" ,
"youTubeVideo"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
} ,
"uniqueTriggerId" : {
"$ref" : "Parameter" ,
"description" : "Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers."
} ,
"verticalScrollPercentageList" : {
"$ref" : "Parameter" ,
"description" : "List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers."
} ,
"visibilitySelector" : {
"$ref" : "Parameter" ,
"description" : "A visibility trigger CSS selector (i.e. \"#id\"). Only valid for AMP Visibility trigger."
} ,
"visiblePercentageMax" : {
"$ref" : "Parameter" ,
"description" : "A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger."
} ,
"visiblePercentageMin" : {
"$ref" : "Parameter" ,
"description" : "A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger."
} ,
"waitForTags" : {
"$ref" : "Parameter" ,
"description" : "Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers."
} ,
"waitForTagsTimeout" : {
"$ref" : "Parameter" ,
"description" : "How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers."
} ,
"workspaceId" : {
"description" : "GTM Workspace ID." ,
"type" : "string"
}
} ,
"type" : "object"
} ,
"UpdateWorkspaceProposalRequest" : {
"description" : "Updates a workspace proposal with patch-like semantics." ,
"id" : "UpdateWorkspaceProposalRequest" ,
"properties" : {
"fingerprint" : {
"description" : "When provided, this fingerprint must match the fingerprint of the proposal in storage." ,
"type" : "string"
} ,
"newComment" : {
"$ref" : "WorkspaceProposalHistoryComment" ,
"description" : "If present, a new comment is added to the workspace proposal history."
} ,
"reviewers" : {
"description" : "If present, the list of reviewers of the workspace proposal is updated." ,
"items" : {
"$ref" : "WorkspaceProposalUser"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"status" : {
"description" : "If present, the status of the workspace proposal is updated." ,
"enum" : [
"approved" ,
"cancelled" ,
"completed" ,
"requested" ,
"reviewed" ,
"statusUnspecified"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"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."
} ,
"accountId" : {
"description" : "The Account ID uniquely identifies the GTM Account." ,
"type" : "string"
} ,
"containerAccess" : {
"description" : "GTM Container access permissions." ,
"items" : {
"$ref" : "ContainerAccess"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"emailAddress" : {
"description" : "User's email address." ,
"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 variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set." ,
"items" : {
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"enablingTriggerId" : {
"description" : "For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set." ,
"items" : {
"type" : "string"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"fingerprint" : {
"description" : "The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified." ,
"type" : "string"
} ,
"name" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.workspaces.variables.create" ,
"tagmanager.accounts.containers.workspaces.variables.update"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "Variable display name." ,
"type" : "string"
} ,
"notes" : {
"description" : "User notes on how to apply this variable in the container." ,
"type" : "string"
} ,
"parameter" : {
"description" : "The variable's parameters." ,
"items" : {
"$ref" : "Parameter"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"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." ,
"format" : "int64" ,
"type" : "string"
} ,
"scheduleStartMs" : {
"description" : "The start timestamp in milliseconds to schedule a variable." ,
"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"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "GTM Variable Type." ,
"type" : "string"
} ,
"variableId" : {
"description" : "The Variable ID uniquely identifies the GTM Variable." ,
"type" : "string"
} ,
"workspaceId" : {
"description" : "GTM Workspace ID." ,
"type" : "string"
}
} ,
"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." ,
"type" : "string"
} ,
"fingerprint" : {
"description" : "The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified." ,
"type" : "string"
} ,
"name" : {
"annotations" : {
"required" : [
"tagmanager.accounts.containers.workspaces.create" ,
"tagmanager.accounts.containers.workspaces.update"
]
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"description" : "Workspace display name." ,
"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"
} ,
"WorkspaceProposal" : {
"description" : "A workspace proposal represents an ongoing review of workspace changes in an effort to gain approval for container version creation." ,
"id" : "WorkspaceProposal" ,
"properties" : {
"authors" : {
"description" : "List of authors for the workspace proposal." ,
"items" : {
"$ref" : "WorkspaceProposalUser"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"fingerprint" : {
"description" : "The fingerprint of the GTM workspace proposal as computed at storage time. This value is recomputed whenever the proposal is modified." ,
"type" : "string"
} ,
"history" : {
"description" : "Records the history of comments and status changes." ,
"items" : {
"$ref" : "WorkspaceProposalHistory"
2017-08-05 20:17:15 +02:00
} ,
2018-03-30 12:51:18 +02:00
"type" : "array"
} ,
"path" : {
"description" : "GTM workspace proposal's relative path." ,
"type" : "string"
} ,
"reviewers" : {
"description" : "Lists of reviewers for the workspace proposal." ,
"items" : {
"$ref" : "WorkspaceProposalUser"
} ,
"type" : "array"
} ,
"status" : {
"description" : "The status of the workspace proposal as it goes through review." ,
"enum" : [
"approved" ,
"cancelled" ,
"completed" ,
"requested" ,
"reviewed" ,
"statusUnspecified"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
2018-03-30 12:51:18 +02:00
} ,
"type" : "object"
} ,
"WorkspaceProposalHistory" : {
"description" : "A history event that represents a comment or status change in the proposal." ,
"id" : "WorkspaceProposalHistory" ,
"properties" : {
"comment" : {
"$ref" : "WorkspaceProposalHistoryComment" ,
"description" : "A user or reviewer comment."
} ,
"createdBy" : {
"$ref" : "WorkspaceProposalUser" ,
"description" : "The party responsible for the change in history."
} ,
"createdTimestamp" : {
"$ref" : "Timestamp" ,
"description" : "When this history event was added to the workspace proposal."
} ,
"statusChange" : {
"$ref" : "WorkspaceProposalHistoryStatusChange" ,
"description" : "A change in the proposal's status."
} ,
"type" : {
"description" : "The history type distinguishing between comments and status changes." ,
"enum" : [
"comment" ,
"statusChange" ,
"unspecified"
] ,
"enumDescriptions" : [
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"WorkspaceProposalHistoryComment" : {
"description" : "A comment from the reviewer or author." ,
"id" : "WorkspaceProposalHistoryComment" ,
"properties" : {
"content" : {
"description" : "The contents of the reviewer or author comment." ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"WorkspaceProposalHistoryStatusChange" : {
"description" : "A change in the proposal's status." ,
"id" : "WorkspaceProposalHistoryStatusChange" ,
"properties" : {
"newStatus" : {
"description" : "The new proposal status after that status change." ,
"enum" : [
"approved" ,
"cancelled" ,
"completed" ,
"requested" ,
"reviewed" ,
"statusUnspecified"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
} ,
"oldStatus" : {
"description" : "The old proposal status before the status change." ,
"enum" : [
"approved" ,
"cancelled" ,
"completed" ,
"requested" ,
"reviewed" ,
"statusUnspecified"
] ,
"enumDescriptions" : [
"" ,
"" ,
"" ,
"" ,
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"type" : "object"
} ,
"WorkspaceProposalUser" : {
"description" : "Represents an external user or internal Google Tag Manager system." ,
"id" : "WorkspaceProposalUser" ,
"properties" : {
"gaiaId" : {
"description" : "Gaia id associated with a user, absent for the Google Tag Manager system." ,
"format" : "int64" ,
"type" : "string"
} ,
"type" : {
"description" : "User type distinguishes between a user and the Google Tag Manager system." ,
"enum" : [
"gaiaId" ,
"system"
] ,
"enumDescriptions" : [
"" ,
""
] ,
"type" : "string"
2017-08-05 20:17:15 +02:00
}
} ,
2018-03-30 12:51:18 +02:00
"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. This 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"
} ,
2017-08-05 20:17:15 +02:00
"path" : {
2018-03-30 12:51:18 +02:00
"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"
2017-08-05 20:17:15 +02:00
}
2018-03-30 12:51:18 +02:00
} ,
"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 conditions 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"
2017-08-05 20:17:15 +02:00
}
2018-03-30 12:51:18 +02:00
} ,
"servicePath" : "tagmanager/v2/" ,
"title" : "Tag Manager API" ,
"version" : "v2"
}