Resource: Variable
Represents a Google Tag Manager Variable.
JSON representation |
---|
{
"accountId": string,
"containerId": string,
"variableId": string,
"name": string,
"type": string,
"notes": string,
"scheduleStartMs": string,
"scheduleEndMs": string,
"parameter": [
{
object ( |
Fields | |
---|---|
accountId |
GTM Account ID. |
containerId |
GTM Container ID. |
variableId |
The Variable ID uniquely identifies the GTM Variable. |
name |
Variable display name. |
type |
GTM Variable Type. |
notes |
User notes on how to apply this variable in the container. |
scheduleStartMs |
The start timestamp in milliseconds to schedule a variable. |
scheduleEndMs |
The end timestamp in milliseconds to schedule a variable. |
parameter[] |
The variable's parameters. |
enablingTriggerId[] |
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. |
disablingTriggerId[] |
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. |
fingerprint |
The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. |
parentFolderId |
Parent folder id. |
Methods |
|
---|---|
|
Creates a GTM Variable. |
|
Deletes a GTM Variable. |
|
Gets a GTM Variable. |
|
Lists all GTM Variables of a Container. |
|
Updates a GTM Variable. |