Folders: create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a GTM Folder.
Try it now.
Request
HTTP request
POST https://www.googleapis.com/tagmanager/v2/+parent/folders
Parameters
Parameter name |
Value |
Description |
Path parameters |
parent |
string |
GTM Workspace's API relative path.
Example:
accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
|
Authorization
This request requires authorization with the following scope:
Scope |
https://www.googleapis.com/auth/tagmanager.edit.containers |
For more information, see the authentication and authorization page.
Request body
In the request body, supply a Folders resource with the following properties:
Property name |
Value |
Description |
Notes |
Required Properties |
name |
string |
Folder display name. |
writable
|
Optional Properties |
notes |
string |
User notes on how to apply this folder in the container. |
writable
|
Response
If successful, this method returns a Folders resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-07 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2021-04-07 UTC.",
"state": ""
}