Resource: ContainerVersion
Represents a Google Tag Manager Container Version.
JSON representation |
---|
{ "path": string, "accountId": string, "containerId": string, "containerVersionId": string, "name": string, "deleted": boolean, "description": string, "container": { object ( |
Fields | |
---|---|
path |
GTM Container Version's API relative path. |
accountId |
GTM Account ID. |
containerId |
GTM Container ID. |
containerVersionId |
The Container Version ID uniquely identifies the GTM Container Version. |
name |
Container version display name. |
deleted |
A value of true indicates this container version has been deleted. |
description |
Container version description. |
container |
The container that this version was taken from. |
tag[] |
The tags in the container that this version was taken from. |
trigger[] |
The triggers in the container that this version was taken from. |
variable[] |
The variables in the container that this version was taken from. |
folder[] |
The folders in the container that this version was taken from. |
builtInVariable[] |
The built-in variables in the container that this version was taken from. |
fingerprint |
The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. |
tagManagerUrl |
Auto generated link to the tag manager UI |
zone[] |
The zones in the container that this version was taken from. |
customTemplate[] |
The custom templates in the container that this version was taken from. |
client[] |
The clients in the container that this version was taken from. |
gtagConfig[] |
The Google tag configs in the container that this version was taken from. |
transformation[] |
The transformations in the container that this version was taken from. |
BuiltInVariable
Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing properties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.
JSON representation |
---|
{
"path": string,
"accountId": string,
"containerId": string,
"workspaceId": string,
"type": enum ( |
Fields | |
---|---|
path |
GTM BuiltInVariable's API relative path. |
accountId |
GTM Account ID. |
containerId |
GTM Container ID. |
workspaceId |
GTM Workspace ID. |
type |
Type of built-in variable. |
name |
Name of the built-in variable to be used to refer to the built-in variable. |
BuiltInVariableType
Note that BuiltInVariableType must be binary compatible with container_tag.BuiltInType.BuiltInMacroType. LINT.IfChange NEXT TAG: 141
Enums | |
---|---|
builtInVariableTypeUnspecified |
|
pageUrl |
|
pageHostname |
|
pagePath |
|
referrer |
|
event |
For web or mobile. |
clickElement |
|
clickClasses |
|
clickId |
|
clickTarget |
|
clickUrl |
|
clickText |
|
firstPartyServingUrl |
|
formElement |
|
formClasses |
|
formId |
|
formTarget |
|
formUrl |
|
formText |
|
errorMessage |
|
errorUrl |
|
errorLine |
|
newHistoryUrl |
|
oldHistoryUrl |
|
newHistoryFragment |
|
oldHistoryFragment |
|
newHistoryState |
|
oldHistoryState |
|
historySource |
|
containerVersion |
For web or mobile. |
debugMode |
|
randomNumber |
For web or mobile. |
containerId |
For web or mobile. |
appId |
|
appName |
|
appVersionCode |
|
appVersionName |
|
language |
|
osVersion |
|
platform |
|
sdkVersion |
|
deviceName |
|
resolution |
|
advertiserId |
|
advertisingTrackingEnabled |
|
htmlId |
|
environmentName |
|
ampBrowserLanguage |
|
ampCanonicalPath |
|
ampCanonicalUrl |
|
ampCanonicalHost |
|
ampReferrer |
|
ampTitle |
|
ampClientId |
|
ampClientTimezone |
|
ampClientTimestamp |
|
ampClientScreenWidth |
|
ampClientScreenHeight |
|
ampClientScrollX |
|
ampClientScrollY |
|
ampClientMaxScrollX |
|
ampClientMaxScrollY |
|
ampTotalEngagedTime |
|
ampPageViewId |
|
ampPageLoadTime |
|
ampPageDownloadTime |
|
ampGtmEvent |
|
eventName |
|
firebaseEventParameterCampaign |
|
firebaseEventParameterCampaignAclid |
|
firebaseEventParameterCampaignAnid |
|
firebaseEventParameterCampaignClickTimestamp |
|
firebaseEventParameterCampaignContent |
|
firebaseEventParameterCampaignCp1 |
|
firebaseEventParameterCampaignGclid |
|
firebaseEventParameterCampaignSource |
|
firebaseEventParameterCampaignTerm |
|
firebaseEventParameterCurrency |
|
firebaseEventParameterDynamicLinkAcceptTime |
|
firebaseEventParameterDynamicLinkLinkid |
|
firebaseEventParameterNotificationMessageDeviceTime |
|
firebaseEventParameterNotificationMessageId |
|
firebaseEventParameterNotificationMessageName |
|
firebaseEventParameterNotificationMessageTime |
|
firebaseEventParameterNotificationTopic |
|
firebaseEventParameterPreviousAppVersion |
|
firebaseEventParameterPreviousOsVersion |
|
firebaseEventParameterPrice |
|
firebaseEventParameterProductId |
|
firebaseEventParameterQuantity |
|
firebaseEventParameterValue |
|
videoProvider |
|
videoUrl |
|
videoTitle |
|
videoDuration |
|
videoPercent |
|
videoVisible |
|
videoStatus |
|
videoCurrentTime |
|
scrollDepthThreshold |
|
scrollDepthUnits |
|
scrollDepthDirection |
|
elementVisibilityRatio |
|
elementVisibilityTime |
|
elementVisibilityFirstTime |
|
elementVisibilityRecentTime |
|
requestPath |
|
requestMethod |
|
clientName |
|
queryString |
|
serverPageLocationUrl |
|
serverPageLocationPath |
|
serverPageLocationHostname |
|
visitorRegion |
Methods |
|
---|---|
|
Deletes a Container Version. |
|
Gets a Container Version. |
|
Gets the live (i.e. |
|
Publishes a Container Version. |
|
Sets the latest version used for synchronization of workspaces when detecting conflicts and errors. |
|
Undeletes a Container Version. |
|
Updates a Container Version. |