List

Lists all GTM Folders of a Container

2 variables
11 variables

Lists all GTM Folders of a Container

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing
  • View your Google Tag Manager container and its subcomponents

Input

This building block consumes 2 input parameters

  = Parameter name
  = Format

parent STRING Required

GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

pageToken STRING

Continuation token for fetching the next page of results

Output

This building block provides 11 output parameters

  = Parameter name
  = Format

folder[] OBJECT

Represents a Google Tag Manager Folder

folder[].accountId STRING

GTM Account ID

folder[].containerId STRING

GTM Container ID

folder[].fingerprint STRING

The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified

folder[].folderId STRING

The Folder ID uniquely identifies the GTM Folder

folder[].name STRING

Folder display name

folder[].notes STRING

User notes on how to apply this folder in the container

folder[].path STRING

GTM Folder's API relative path

folder[].tagManagerUrl STRING

Auto generated link to the tag manager UI

folder[].workspaceId STRING

GTM Workspace ID

nextPageToken STRING

Continuation token for fetching the next page of results