Returns the built_in_variables Resource.
Returns the folders Resource.
Returns the tags Resource.
Returns the templates Resource.
Returns the triggers Resource.
Returns the variables Resource.
Returns the zones Resource.
Creates a Workspace.
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.
Deletes a Workspace.
Gets a Workspace.
Finds conflicting and modified entities in the workspace.
Lists all Workspaces that belong to a GTM Container.
list_next(previous_request, previous_response)
Retrieves the next page of results.
Quick previews a workspace by creating a fake container version from all entities in the provided workspace.
resolve_conflict(path, body, fingerprint=None)
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
update(path, body, fingerprint=None)
Updates a Workspace.
create(parent, body)
Creates a Workspace. Args: parent: string, GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required) body: object, The request body. (required) The object takes the form of: { # Represents a Google Tag Manager Container Workspace. "description": "A String", # Workspace description. "name": "A String", # Workspace display name. "workspaceId": "A String", # The Workspace ID uniquely identifies the GTM Workspace. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. "path": "A String", # GTM Workspace's API relative path. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. } Returns: An object of the form: { # Represents a Google Tag Manager Container Workspace. "description": "A String", # Workspace description. "name": "A String", # Workspace display name. "workspaceId": "A String", # The Workspace ID uniquely identifies the GTM Workspace. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. "path": "A String", # GTM Workspace's API relative path. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. }
create_version(path, body)
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. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) body: object, The request body. (required) The object takes the form of: { # Options for new container versions. "notes": "A String", # The notes of the container version to be created. "name": "A String", # The name of the container version to be created. } Returns: An object of the form: { # Create container versions response. "newWorkspacePath": "A String", # 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. "containerVersion": { # Represents a Google Tag Manager Container Version. # The container version created. "container": { # Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions. # The container that this version was taken from. "publicId": "A String", # Container Public ID. "containerId": "A String", # The Container ID uniquely identifies the GTM Container. "domainName": [ # List of domain names associated with the Container. "A String", ], "notes": "A String", # Container Notes. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. "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. "path": "A String", # GTM Container's API relative path. "accountId": "A String", # GTM Account ID. "name": "A String", # Container display name. }, "containerId": "A String", # GTM Container ID. "zone": [ # The zones in the container that this version was taken from. { # Represents a Google Tag Manager Zone's contents. "containerId": "A String", # GTM Container ID. "childContainer": [ # Containers that are children of this Zone. { # Represents a child container of a Zone. "publicId": "A String", # The child container's public id. "nickname": "A String", # The zone's nickname for the child container. }, ], "notes": "A String", # User notes on how to apply this zone in the container. "zoneId": "A String", # The Zone ID uniquely identifies the GTM Zone. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified. "path": "A String", # GTM Zone's API relative path. "boundary": { # Represents a Zone's boundaries. # This Zone's boundary. "condition": [ # The conditions that, when conjoined, make up the boundary. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "customEvaluationTriggerId": [ # Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true. "A String", ], }, "accountId": "A String", # GTM Account ID. "typeRestriction": { # Represents a Zone's type restrictions. # This Zone's type restrictions. "enable": True or False, # True if type restrictions have been enabled for this Zone. "whitelistedTypeId": [ # List of type public ids that have been whitelisted for use in this Zone. "A String", ], }, "name": "A String", # Zone display name. }, ], "deleted": True or False, # A value of true indicates this container version has been deleted. "trigger": [ # The triggers in the container that this version was taken from. { # Represents a Google Tag Manager Trigger "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, ], "description": "A String", # Container version description. "builtInVariable": [ # The built-in variables in the container that this version was taken from. { # 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. "containerId": "A String", # GTM Container ID. "workspaceId": "A String", # GTM Workspace ID. "path": "A String", # GTM BuiltInVariable's API relative path. "accountId": "A String", # GTM Account ID. "type": "A String", # Type of built-in variable. "name": "A String", # Name of the built-in variable to be used to refer to the built-in variable. }, ], "name": "A String", # Container version display name. "tag": [ # The tags in the container that this version was taken from. { # Represents a Google Tag Manager Tag. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. "variable": [ # The variables in the container that this version was taken from. { # Represents a Google Tag Manager Variable. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, ], "path": "A String", # GTM ContainerVersions's API relative path. "folder": [ # The folders in the container that this version was taken from. { # Represents a Google Tag Manager Folder. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, ], "customTemplate": [ # The custom templates in the container that this version was taken from. { # Represents a Google Tag Manager Custom Template's contents. "templateData": "A String", # The custom template in text format. "containerId": "A String", # GTM Container ID. "templateId": "A String", # The Custom Template ID uniquely identifies the GTM custom template. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified. "path": "A String", # GTM Custom Template's API relative path. "accountId": "A String", # GTM Account ID. "name": "A String", # Custom Template display name. }, ], "accountId": "A String", # GTM Account ID. }, "syncStatus": { # The status of a workspace after synchronization. # Whether version creation failed when syncing the workspace to the latest container version. "syncError": True or False, # An error occurred during the synchronization operation. "mergeConflict": True or False, # Synchornization operation detected a merge conflict. }, "compilerError": True or False, # Compiler errors or not. }
delete(path)
Deletes a Workspace. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required)
get(path)
Gets a Workspace. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) Returns: An object of the form: { # Represents a Google Tag Manager Container Workspace. "description": "A String", # Workspace description. "name": "A String", # Workspace display name. "workspaceId": "A String", # The Workspace ID uniquely identifies the GTM Workspace. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. "path": "A String", # GTM Workspace's API relative path. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. }
getStatus(path)
Finds conflicting and modified entities in the workspace. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) Returns: An object of the form: { # The changes that have occurred in the workspace since the base container version. "workspaceChange": [ # Entities that have been changed in the workspace. { # A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace. "variable": { # Represents a Google Tag Manager Variable. # The variable being represented by the entity. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, "trigger": { # Represents a Google Tag Manager Trigger # The trigger being represented by the entity. "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "changeStatus": "A String", # Represents how the entity has been changed in the workspace. "tag": { # Represents a Google Tag Manager Tag. # The tag being represented by the entity. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, "folder": { # Represents a Google Tag Manager Folder. # The Folder being represented by the entity. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, }, ], "mergeConflict": [ # The merge conflict after sync. { # Represents a merge conflict. "entityInWorkspace": { # A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace. # 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. "variable": { # Represents a Google Tag Manager Variable. # The variable being represented by the entity. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, "trigger": { # Represents a Google Tag Manager Trigger # The trigger being represented by the entity. "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "changeStatus": "A String", # Represents how the entity has been changed in the workspace. "tag": { # Represents a Google Tag Manager Tag. # The tag being represented by the entity. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, "folder": { # Represents a Google Tag Manager Folder. # The Folder being represented by the entity. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, }, "entityInBaseVersion": { # A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace. # 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. "variable": { # Represents a Google Tag Manager Variable. # The variable being represented by the entity. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, "trigger": { # Represents a Google Tag Manager Trigger # The trigger being represented by the entity. "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "changeStatus": "A String", # Represents how the entity has been changed in the workspace. "tag": { # Represents a Google Tag Manager Tag. # The tag being represented by the entity. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, "folder": { # Represents a Google Tag Manager Folder. # The Folder being represented by the entity. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, }, }, ], }
list(parent, pageToken=None)
Lists all Workspaces that belong to a GTM Container. Args: parent: string, GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required) pageToken: string, Continuation token for fetching the next page of results. Returns: An object of the form: { # A list of workspaces in a container. "nextPageToken": "A String", # Continuation token for fetching the next page of results. "workspace": [ # All Workspaces of a GTM Container. { # Represents a Google Tag Manager Container Workspace. "description": "A String", # Workspace description. "name": "A String", # Workspace display name. "workspaceId": "A String", # The Workspace ID uniquely identifies the GTM Workspace. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. "path": "A String", # GTM Workspace's API relative path. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. }, ], }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
quick_preview(path)
Quick previews a workspace by creating a fake container version from all entities in the provided workspace. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) Returns: An object of the form: { # Response to quick previewing a workspace. "containerVersion": { # Represents a Google Tag Manager Container Version. # The quick previewed container version. "container": { # Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions. # The container that this version was taken from. "publicId": "A String", # Container Public ID. "containerId": "A String", # The Container ID uniquely identifies the GTM Container. "domainName": [ # List of domain names associated with the Container. "A String", ], "notes": "A String", # Container Notes. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, or ios. "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. "path": "A String", # GTM Container's API relative path. "accountId": "A String", # GTM Account ID. "name": "A String", # Container display name. }, "containerId": "A String", # GTM Container ID. "zone": [ # The zones in the container that this version was taken from. { # Represents a Google Tag Manager Zone's contents. "containerId": "A String", # GTM Container ID. "childContainer": [ # Containers that are children of this Zone. { # Represents a child container of a Zone. "publicId": "A String", # The child container's public id. "nickname": "A String", # The zone's nickname for the child container. }, ], "notes": "A String", # User notes on how to apply this zone in the container. "zoneId": "A String", # The Zone ID uniquely identifies the GTM Zone. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified. "path": "A String", # GTM Zone's API relative path. "boundary": { # Represents a Zone's boundaries. # This Zone's boundary. "condition": [ # The conditions that, when conjoined, make up the boundary. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "customEvaluationTriggerId": [ # Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true. "A String", ], }, "accountId": "A String", # GTM Account ID. "typeRestriction": { # Represents a Zone's type restrictions. # This Zone's type restrictions. "enable": True or False, # True if type restrictions have been enabled for this Zone. "whitelistedTypeId": [ # List of type public ids that have been whitelisted for use in this Zone. "A String", ], }, "name": "A String", # Zone display name. }, ], "deleted": True or False, # A value of true indicates this container version has been deleted. "trigger": [ # The triggers in the container that this version was taken from. { # Represents a Google Tag Manager Trigger "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, ], "description": "A String", # Container version description. "builtInVariable": [ # The built-in variables in the container that this version was taken from. { # 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. "containerId": "A String", # GTM Container ID. "workspaceId": "A String", # GTM Workspace ID. "path": "A String", # GTM BuiltInVariable's API relative path. "accountId": "A String", # GTM Account ID. "type": "A String", # Type of built-in variable. "name": "A String", # Name of the built-in variable to be used to refer to the built-in variable. }, ], "name": "A String", # Container version display name. "tag": [ # The tags in the container that this version was taken from. { # Represents a Google Tag Manager Tag. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. "variable": [ # The variables in the container that this version was taken from. { # Represents a Google Tag Manager Variable. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, ], "path": "A String", # GTM ContainerVersions's API relative path. "folder": [ # The folders in the container that this version was taken from. { # Represents a Google Tag Manager Folder. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, ], "customTemplate": [ # The custom templates in the container that this version was taken from. { # Represents a Google Tag Manager Custom Template's contents. "templateData": "A String", # The custom template in text format. "containerId": "A String", # GTM Container ID. "templateId": "A String", # The Custom Template ID uniquely identifies the GTM custom template. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified. "path": "A String", # GTM Custom Template's API relative path. "accountId": "A String", # GTM Account ID. "name": "A String", # Custom Template display name. }, ], "accountId": "A String", # GTM Account ID. }, "syncStatus": { # The status of a workspace after synchronization. # Whether quick previewing failed when syncing the workspace to the latest container version. "syncError": True or False, # An error occurred during the synchronization operation. "mergeConflict": True or False, # Synchornization operation detected a merge conflict. }, "compilerError": True or False, # Were there compiler errors or not. }
resolve_conflict(path, body, fingerprint=None)
Resolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) body: object, The request body. (required) The object takes the form of: { # A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace. "variable": { # Represents a Google Tag Manager Variable. # The variable being represented by the entity. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, "trigger": { # Represents a Google Tag Manager Trigger # The trigger being represented by the entity. "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "changeStatus": "A String", # Represents how the entity has been changed in the workspace. "tag": { # Represents a Google Tag Manager Tag. # The tag being represented by the entity. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, "folder": { # Represents a Google Tag Manager Folder. # The Folder being represented by the entity. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, } fingerprint: string, When provided, this fingerprint must match the fingerprint of the entity_in_workspace in the merge conflict.
sync(path)
Syncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) Returns: An object of the form: { # A response after synchronizing the workspace to the latest container version. "syncStatus": { # The status of a workspace after synchronization. # Indicates whether synchronization caused a merge conflict or sync error. "syncError": True or False, # An error occurred during the synchronization operation. "mergeConflict": True or False, # Synchornization operation detected a merge conflict. }, "mergeConflict": [ # 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. { # Represents a merge conflict. "entityInWorkspace": { # A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace. # 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. "variable": { # Represents a Google Tag Manager Variable. # The variable being represented by the entity. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, "trigger": { # Represents a Google Tag Manager Trigger # The trigger being represented by the entity. "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "changeStatus": "A String", # Represents how the entity has been changed in the workspace. "tag": { # Represents a Google Tag Manager Tag. # The tag being represented by the entity. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, "folder": { # Represents a Google Tag Manager Folder. # The Folder being represented by the entity. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, }, "entityInBaseVersion": { # A workspace entity that may represent a tag, trigger, variable, or folder in addition to its status in the workspace. # 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. "variable": { # Represents a Google Tag Manager Variable. # The variable being represented by the entity. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "containerId": "A String", # GTM Container ID. "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. "type": "A String", # GTM Variable Type. "notes": "A String", # User notes on how to apply this variable in the container. "formatValue": { # Option to convert a variable value to other value. "convertUndefinedToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is undefined. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertFalseToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is false. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "convertNullToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is null. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "caseConversionType": "A String", # The option to convert a string-type variable value to either lowercase or uppercase. "convertTrueToValue": { # Represents a Google Tag Manager Parameter. # The value to convert if a variable value is true. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "name": "A String", # Variable display name. "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. "A String", ], "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. "path": "A String", # GTM Variable's API relative path. "parameter": [ # The variable's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "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. "A String", ], "accountId": "A String", # GTM Account ID. }, "trigger": { # Represents a Google Tag Manager Trigger # The trigger being represented by the entity. "maxTimerLengthSeconds": { # Represents a Google Tag Manager Parameter. # Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "totalTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "verticalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "horizontalScrollPercentageList": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "containerId": "A String", # GTM Container ID. "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "accountId": "A String", # GTM Account ID. "waitForTags": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "intervalSeconds": { # Represents a Google Tag Manager Parameter. # Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "visibilitySelector": { # Represents a Google Tag Manager Parameter. # A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "parameter": [ # Additional parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "continuousTimeMinMilliseconds": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "selector": { # Represents a Google Tag Manager Parameter. # A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. "visiblePercentageMax": { # Represents a Google Tag Manager Parameter. # A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "path": "A String", # GTM Trigger's API relative path. "name": "A String", # Trigger display name. "visiblePercentageMin": { # Represents a Google Tag Manager Parameter. # A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "type": "A String", # Defines the data layer event that causes this trigger. "notes": "A String", # User notes on how to apply this trigger in the container. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "autoEventFilter": [ # Used in the case of auto event tracking. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. # - At this time, the left operand (arg0) must be a reference to a variable. # - 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. # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], }, ], "limit": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "checkValidation": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, }, "changeStatus": "A String", # Represents how the entity has been changed in the workspace. "tag": { # Represents a Google Tag Manager Tag. # The tag being represented by the entity. "paused": True or False, # Indicates whether the tag is paused, which prevents the tag from firing. "setupTag": [ # The list of setup tags. Currently we only allow one. { # Represents a reference to atag that fires before another tag in order to set up dependencies. "stopOnSetupFailure": True or False, # 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. "tagName": "A String", # The name of the setup tag. }, ], "firingRuleId": [ # 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. "A String", ], "accountId": "A String", # GTM Account ID. "teardownTag": [ # The list of teardown tags. Currently we only allow one. { # Represents a tag that fires after another tag in order to tear down dependencies. "stopTeardownOnFailure": True or False, # 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. "tagName": "A String", # The name of the teardown tag. }, ], "priority": { # Represents a Google Tag Manager Parameter. # 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. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, "workspaceId": "A String", # GTM Workspace ID. "parameter": [ # The tag's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], "list": [ # This list parameter's parameters (keys will be ignored). # Object with schema name: Parameter ], "value": "A String", # A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type. "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. "type": "A String", # The parameter type. Valid values are: # - boolean: The value represents a boolean, represented as 'true' or 'false' # - integer: The value represents a 64-bit signed integer value, in base 10 # - list: A list of parameters should be specified # - map: A map of parameters should be specified # - template: The value represents any text; this can include variable references (even variable references that might return non-string types) # - trigger_reference: The value represents a trigger, represented as the trigger id }, ], "parentFolderId": "A String", # Parent folder id. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. "containerId": "A String", # GTM Container ID. "tagFiringOption": "A String", # Option to fire this tag. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. "path": "A String", # GTM Tag's API relative path. "firingTriggerId": [ # 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. "A String", ], "name": "A String", # Tag display name. "type": "A String", # GTM Tag Type. "notes": "A String", # User notes on how to apply this tag in the container. "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], }, "folder": { # Represents a Google Tag Manager Folder. # The Folder being represented by the entity. "containerId": "A String", # GTM Container ID. "notes": "A String", # User notes on how to apply this folder in the container. "workspaceId": "A String", # GTM Workspace ID. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "path": "A String", # GTM Folder's API relative path. "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. "accountId": "A String", # GTM Account ID. "name": "A String", # Folder display name. }, }, }, ], }
update(path, body, fingerprint=None)
Updates a Workspace. Args: path: string, GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} (required) body: object, The request body. (required) The object takes the form of: { # Represents a Google Tag Manager Container Workspace. "description": "A String", # Workspace description. "name": "A String", # Workspace display name. "workspaceId": "A String", # The Workspace ID uniquely identifies the GTM Workspace. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. "path": "A String", # GTM Workspace's API relative path. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. } fingerprint: string, When provided, this fingerprint must match the fingerprint of the workspace in storage. Returns: An object of the form: { # Represents a Google Tag Manager Container Workspace. "description": "A String", # Workspace description. "name": "A String", # Workspace display name. "workspaceId": "A String", # The Workspace ID uniquely identifies the GTM Workspace. "tagManagerUrl": "A String", # Auto generated link to the tag manager UI "fingerprint": "A String", # The fingerprint of the GTM Workspace as computed at storage time. This value is recomputed whenever the workspace is modified. "path": "A String", # GTM Workspace's API relative path. "accountId": "A String", # GTM Account ID. "containerId": "A String", # GTM Container ID. }