Resource: Zone
Represents a Google Tag Manager Zone's contents.
JSON representation |
---|
{ "path": string, "accountId": string, "containerId": string, "workspaceId": string, "zoneId": string, "name": string, "fingerprint": string, "tagManagerUrl": string, "notes": string, "childContainer": [ { object ( |
Fields | |
---|---|
path |
GTM Zone's API relative path. |
accountId |
GTM Account ID. |
containerId |
GTM Container ID. |
workspaceId |
GTM Workspace ID. |
zoneId |
The Zone ID uniquely identifies the GTM Zone. |
name |
Zone display name. |
fingerprint |
The fingerprint of the GTM Zone as computed at storage time. This value is recomputed whenever the zone is modified. |
tagManagerUrl |
Auto generated link to the tag manager UI |
notes |
User notes on how to apply this zone in the container. |
childContainer[] |
Containers that are children of this Zone. |
boundary |
This Zone's boundary. |
typeRestriction |
This Zone's type restrictions. |
ChildContainer
Represents a child container of a Zone.
JSON representation |
---|
{ "publicId": string, "nickname": string } |
Fields | |
---|---|
publicId |
The child container's public id. |
nickname |
The zone's nickname for the child container. |
Boundary
Represents a Zone's boundaries.
JSON representation |
---|
{
"condition": [
{
object ( |
Fields | |
---|---|
condition[] |
The conditions that, when conjoined, make up the boundary. |
customEvaluationTriggerId[] |
Custom evaluation trigger IDs. A zone will evaluate its boundary conditions when any of the listed triggers are true. |
TypeRestriction
Represents a Zone's type restrictions.
JSON representation |
---|
{ "enable": boolean, "whitelistedTypeId": [ string ] } |
Fields | |
---|---|
enable |
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. |
Methods |
|
---|---|
|
Creates a GTM Zone. |
|
Deletes a GTM Zone. |
|
Gets a GTM Zone. |
|
Lists all GTM Zones of a GTM container workspace. |
|
Reverts changes to a GTM Zone in a GTM Workspace. |
|
Updates a GTM Zone. |