- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Full name: accounts.containers.workspaces.built_in_variables.create
Creates one or more GTM Built-In Variables.
HTTP request
POST https://tagmanager.googleapis.com/tagmanager/v2/{parent}/built_in_variables
Path parameters
Parameters | |
---|---|
parent |
GTM Workspace's API relative path. It takes the form |
Query parameters
Parameters | |
---|---|
type[] |
The types of built-in variables to enable. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"builtInVariable": [
{
object ( |
Fields | |
---|---|
builtInVariable[] |
List of created built-in variables. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/tagmanager.edit.containers
For more information, see the OAuth 2.0 Overview.