Actions27
- Account Actions
- Built-In Variable Actions
- Client Actions
- Container Actions
- Destination Actions
- Environment Actions
Account → Update Account
AI-generatedOverview
This node operation updates a Google Tag Manager (GTM) Account using the GTM API. It is useful for modifying account details such as permissions or settings within a GTM account. For example, a user can update the account's configuration or enable specific features programmatically.
Use Case Examples
- Updating the name or permissions of a GTM Account by providing the Account ID and the updated data in the request body.
- Changing account-level settings such as enabling user permission features by setting appropriate query parameters.
Properties
| Name | Meaning |
|---|---|
| Account ID | The unique identifier of the GTM Account to update. |
| Optional Query Parameters | Additional optional parameters to customize the update operation, such as allowing user permission feature updates or specifying other GTM-specific options. |
| Request Body | The JSON object containing the updated account data to be sent in the request body. |
Output
JSON
accountId- The ID of the updated GTM Account.name- The name of the updated GTM Account.path- The API path of the updated GTM Account.fingerprint- The fingerprint of the updated GTM Account, used for concurrency control.
Dependencies
- Google Tag Manager API with OAuth2 credentials
Troubleshooting
- Ensure the Account ID is provided; otherwise, the node will throw an error indicating the missing Account ID.
- Verify that the OAuth2 credentials for Google Tag Manager API are correctly configured and available, as missing credentials will cause the node to fail.
- Check that the request body JSON is correctly formatted and contains valid data for the update operation.
- If the operation fails, review the error message returned by the GTM API for details, which is included in the node error output.