Google Tag Manager (Improved) icon

Google Tag Manager (Improved)

Use the Google Tag Manager API

Client → Revert Client

AI-generated

Overview

This node operation reverts changes made to a Google Tag Manager (GTM) Client within a specified GTM Workspace. It is useful when you want to discard modifications and restore the client to its previous state in the workspace. For example, if you made changes to a client configuration that you want to undo, this operation will revert those changes.

Use Case Examples

  1. Revert changes to a GTM Client in a workspace to restore its previous configuration.
  2. Undo modifications made to a GTM Client before publishing changes.

Properties

Name Meaning
Account ID The GTM Account ID where the client resides.
Container ID The GTM Container ID where the client resides.
Workspace ID The GTM Workspace ID where the client resides.
Client ID The GTM Client ID to revert.
Optional Query Parameters Additional optional parameters for the revert operation, such as feature update flags.

Output

JSON

  • client - The reverted GTM Client object returned from the API.

Dependencies

  • Google Tag Manager API OAuth2 credentials

Troubleshooting

  • Ensure all required IDs (Account ID, Container ID, Workspace ID, Client ID) are provided; missing any will cause errors.
  • If the revert operation fails, check if the client ID is correct and the client exists in the specified workspace.
  • Verify that the OAuth2 credentials for Google Tag Manager API are correctly configured and have sufficient permissions.

Links

Discussion