Returns the environments Resource.
Returns the folders Resource.
Returns the move_folders Resource.
Returns the reauthorize_environments Resource.
Returns the tags Resource.
Returns the triggers Resource.
Returns the variables Resource.
Returns the versions Resource.
Close httplib2 connections.
create(accountId, body=None, x__xgafv=None)
Creates a Container.
delete(accountId, containerId, x__xgafv=None)
Deletes a Container.
get(accountId, containerId, x__xgafv=None)
Gets a Container.
list(accountId, x__xgafv=None)
Lists all Containers that belongs to a GTM Account.
update(accountId, containerId, body=None, fingerprint=None, x__xgafv=None)
Updates a Container.
close()
Close httplib2 connections.
create(accountId, body=None, x__xgafv=None)
Creates a Container.
Args:
accountId: string, The GTM Account ID. (required)
body: object, The request body.
The object takes the form of:
{ # Represents a Google Tag Manager Container.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # Optional list of domain names associated with the Container.
"A String",
],
"enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name.
"notes": "A String", # Container Notes.
"publicId": "A String", # Container Public ID.
"timeZoneCountryId": "A String", # Container Country ID.
"timeZoneId": "A String", # Container Time Zone ID.
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
"A String",
],
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents a Google Tag Manager Container.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # Optional list of domain names associated with the Container.
"A String",
],
"enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name.
"notes": "A String", # Container Notes.
"publicId": "A String", # Container Public ID.
"timeZoneCountryId": "A String", # Container Country ID.
"timeZoneId": "A String", # Container Time Zone ID.
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
"A String",
],
}
delete(accountId, containerId, x__xgafv=None)
Deletes a Container.
Args:
accountId: string, The GTM Account ID. (required)
containerId: string, The GTM Container ID. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
get(accountId, containerId, x__xgafv=None)
Gets a Container.
Args:
accountId: string, The GTM Account ID. (required)
containerId: string, The GTM Container ID. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents a Google Tag Manager Container.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # Optional list of domain names associated with the Container.
"A String",
],
"enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name.
"notes": "A String", # Container Notes.
"publicId": "A String", # Container Public ID.
"timeZoneCountryId": "A String", # Container Country ID.
"timeZoneId": "A String", # Container Time Zone ID.
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
"A String",
],
}
list(accountId, x__xgafv=None)
Lists all Containers that belongs to a GTM Account.
Args:
accountId: string, The GTM Account ID. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # List Containers Response.
"containers": [ # All Containers of a GTM Account.
{ # Represents a Google Tag Manager Container.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # Optional list of domain names associated with the Container.
"A String",
],
"enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name.
"notes": "A String", # Container Notes.
"publicId": "A String", # Container Public ID.
"timeZoneCountryId": "A String", # Container Country ID.
"timeZoneId": "A String", # Container Time Zone ID.
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
"A String",
],
},
],
}
update(accountId, containerId, body=None, fingerprint=None, x__xgafv=None)
Updates a Container.
Args:
accountId: string, The GTM Account ID. (required)
containerId: string, The GTM Container ID. (required)
body: object, The request body.
The object takes the form of:
{ # Represents a Google Tag Manager Container.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # Optional list of domain names associated with the Container.
"A String",
],
"enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name.
"notes": "A String", # Container Notes.
"publicId": "A String", # Container Public ID.
"timeZoneCountryId": "A String", # Container Country ID.
"timeZoneId": "A String", # Container Time Zone ID.
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
"A String",
],
}
fingerprint: string, When provided, this fingerprint must match the fingerprint of the container in storage.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Represents a Google Tag Manager Container.
"accountId": "A String", # GTM Account ID.
"containerId": "A String", # The Container ID uniquely identifies the GTM Container.
"domainName": [ # Optional list of domain names associated with the Container.
"A String",
],
"enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
"A String",
],
"fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
"name": "A String", # Container display name.
"notes": "A String", # Container Notes.
"publicId": "A String", # Container Public ID.
"timeZoneCountryId": "A String", # Container Country ID.
"timeZoneId": "A String", # Container Time Zone ID.
"usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
"A String",
],
}