Update Tag
update_tagUpdate a tag in a Google Tag Manager workspace by replacing the stored tag with the one you send. Read the tag first with get_tag, apply edits, and send the full resource to avoid clearing omitted fields.
Instructions
Update a tag in a workspace.
The tag you send replaces the stored one, so read it with get_tag first and send the whole thing back with your edits applied. Omitted fields are cleared, not preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Complete Tag resource. | |
| tag_id | Yes | Numeric tag ID. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the update fails if the tag changed in the meantime. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||