Method: built_in_variables.list

Full name: accounts.containers.workspaces.built_in_variables.list

Lists all the enabled Built-In Variables of a GTM Container.

HTTP request

GET https://tagmanager.googleapis.com/tagmanager/v2/{parent}/built_in_variables

Path parameters

Parameters
parent

string

GTM Workspace's API relative path. It takes the form accounts/{account}/containers/{container}/workspaces/{workspace}.

Query parameters

Parameters
pageToken

string

Continuation token for fetching the next page of results.

Request body

The request body must be empty.

Response body

A list of enabled built-in variables.

If successful, the response body contains data with the following structure:

JSON representation
{
  "builtInVariable": [
    {
      object (BuiltInVariable)
    }
  ],
  "nextPageToken": string
}
Fields
builtInVariable[]

object (BuiltInVariable)

All GTM BuiltInVariables of a GTM container.

nextPageToken

string

Continuation token for fetching the next page of results.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/tagmanager.edit.containers
  • https://www.googleapis.com/auth/tagmanager.readonly

For more information, see the OAuth 2.0 Overview.