Google Tag Manager
google_tag_managerGoogle Tag Manager provides programmatic administration of accounts, containers, workspaces, tags, triggers, variables, versions, publishing, and user permissions.
Acciones disponibles (60)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Bulk Update WorkspaceGOOGLE_TAG_MANAGER_BULK_UPDATE_WORKSPACEAcciónApply multiple typed entity additions, updates, or deletions to a Google Tag Manager workspace in one request without publishing the workspace. Changes can permanently delete workspace entities and cannot be safely rolled back as a single operation.
GOOGLE_TAG_MANAGER_BULK_UPDATE_WORKSPACEAcciónApply multiple typed entity additions, updates, or deletions to a Google Tag Manager workspace in one request without publishing the workspace. Changes can permanently delete workspace entities and cannot be safely rolled back as a single operation.
Parámetros de entrada
changesobject[]ObligatorioEntity additions, updates, or deletions. Added entity IDs must be unique values starting with new_ followed by decimal digits; references may use those IDs.
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Combine ContainersGOOGLE_TAG_MANAGER_COMBINE_CONTAINERSAcciónWarning: This method is no longer supported and will soon be removed. Irreversibly merge another container's configuration into an existing target Google Tag Manager container. This broad-impact operation mutates the target and has no safe automatic rollback; it may also enable the target's user-permissions feature when explicitly allowed. Verify both containers and the setting source, and use disposable or backed-up resources.
GOOGLE_TAG_MANAGER_COMBINE_CONTAINERSAcciónWarning: This method is no longer supported and will soon be removed. Irreversibly merge another container's configuration into an existing target Google Tag Manager container. This broad-impact operation mutates the target and has no safe automatic rollback; it may also enable the target's user-permissions feature when explicitly allowed. Verify both containers and the setting source, and use disposable or backed-up resources.
Parámetros de entrada
setting_sourcestringenumWhich container supplies the resulting configuration settings: current keeps settings from the target, other uses settings from the source, and settingSourceUnspecified leaves the choice unspecified.
settingSourceUnspecifiedcurrentothersource_container_idstringObligatorioID of the other container whose configuration will be merged into the target container. Verify the source and target before calling.
target_container_pathstringObligatorioAPI-relative path of the existing target container that will be mutated, in the form accounts/{account_id}/containers/{container_id}. The combine operation is broad-impact and not safely reversible.
allow_user_permission_feature_updatebooleanSet true only to permit this combine to enable the target container's user-permissions feature. The provider rejects a combine that requires that feature change when this is false.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ContainerGOOGLE_TAG_MANAGER_CREATE_CONTAINERAcciónCreate a Google Tag Manager container under an account.
GOOGLE_TAG_MANAGER_CREATE_CONTAINERAcciónCreate a Google Tag Manager container under an account.
Parámetros de entrada
containerobjectObligatorioWritable container configuration. Omit fields that should use provider defaults.
account_pathstringObligatorioParent account path in the form accounts/{account_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Container VersionGOOGLE_TAG_MANAGER_CREATE_CONTAINER_VERSIONAcciónCreate a Google Tag Manager container version from a workspace and make it the synchronization base without publishing it live. On successful version creation, GTM deletes the source workspace and may return a replacement workspace as new_workspace_path. Do not call this on a workspace that must remain at its current path. The exact JSON body is the root version-options object with required name and optional notes fields; it is not wrapped in another property. Compiler errors, synchronization errors, and merge conflicts are surfaced as failed actions even if the API returns HTTP 200.
GOOGLE_TAG_MANAGER_CREATE_CONTAINER_VERSIONAcciónCreate a Google Tag Manager container version from a workspace and make it the synchronization base without publishing it live. On successful version creation, GTM deletes the source workspace and may return a replacement workspace as new_workspace_path. Do not call this on a workspace that must remain at its current path. The exact JSON body is the root version-options object with required name and optional notes fields; it is not wrapped in another property. Compiler errors, synchronization errors, and merge conflicts are surfaced as failed actions even if the API returns HTTP 200.
Parámetros de entrada
namestringObligatorioDisplay name sent as the name field in the root version-options request body.
notesstringOptional notes sent as the notes field in the root version-options request body; omitted when not supplied.
workspace_pathstringObligatorioGTM API-relative path of the workspace to snapshot. After successful version creation, GTM may return a replacement workspace path when it creates one.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create EnvironmentGOOGLE_TAG_MANAGER_CREATE_ENVIRONMENTAcciónCreate a Google Tag Manager user environment, optionally linked to either a workspace or a container version.
GOOGLE_TAG_MANAGER_CREATE_ENVIRONMENTAcciónCreate a Google Tag Manager user environment, optionally linked to either a workspace or a container version.
Parámetros de entrada
environmentobjectObligatorioProvider-shaped writable Environment fields. Omit fields that should use Google Tag Manager defaults.
container_pathstringObligatorioParent GTM container API-relative path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create User PermissionGOOGLE_TAG_MANAGER_CREATE_USER_PERMISSIONAcciónGrant a user broad Google Tag Manager account and container access. This is a sensitive access-control operation that can assign account admin and container edit, approve, or publish privileges; use it only for an explicitly authorized email address and reviewed container IDs.
GOOGLE_TAG_MANAGER_CREATE_USER_PERMISSIONAcciónGrant a user broad Google Tag Manager account and container access. This is a sensitive access-control operation that can assign account admin and container edit, approve, or publish privileges; use it only for an explicitly authorized email address and reviewed container IDs.
Parámetros de entrada
permissionobjectObligatorioUser identity plus the exact account and optional container access to grant.
account_pathstringObligatorioAccount API-relative path receiving the user grant, such as accounts/123456.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create WorkspaceGOOGLE_TAG_MANAGER_CREATE_WORKSPACEAcciónCreate an isolated Google Tag Manager workspace in a container for staging configuration changes.
GOOGLE_TAG_MANAGER_CREATE_WORKSPACEAcciónCreate an isolated Google Tag Manager workspace in a container for staging configuration changes.
Parámetros de entrada
workspaceobjectObligatorioWritable workspace fields. Read-only IDs, paths, and fingerprint are omitted.
container_pathstringObligatorioParent GTM container API-relative path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Workspace EntityGOOGLE_TAG_MANAGER_CREATE_WORKSPACE_ENTITYAcciónCreate one strictly typed client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone in a Google Tag Manager workspace without publishing it.
GOOGLE_TAG_MANAGER_CREATE_WORKSPACE_ENTITYAcciónCreate one strictly typed client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone in a Google Tag Manager workspace without publishing it.
Parámetros de entrada
entityobjectObligatorioExactly one provider-shaped create payload, under the key matching entity_type. Read-only IDs, paths, fingerprints, and UI URLs are rejected.
entity_typestringObligatorioenumEntity family to create; this must match the one payload in entity.
clientfoldergoogle_tag_configtagtemplatetransformationtriggervariablezoneworkspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ContainerGOOGLE_TAG_MANAGER_DELETE_CONTAINERAcciónPermanently delete a Google Tag Manager container and all of its configuration. This operation has no API confirmation step or undo.
GOOGLE_TAG_MANAGER_DELETE_CONTAINERAcciónPermanently delete a Google Tag Manager container and all of its configuration. This operation has no API confirmation step or undo.
Parámetros de entrada
container_pathstringObligatorioGTM API-relative path of the container to permanently delete, in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Container VersionGOOGLE_TAG_MANAGER_DELETE_CONTAINER_VERSIONAcciónArchive/delete a stored Google Tag Manager container version. The operation has no confirmation step and makes the version unavailable until a separate undelete action restores it.
GOOGLE_TAG_MANAGER_DELETE_CONTAINER_VERSIONAcciónArchive/delete a stored Google Tag Manager container version. The operation has no confirmation step and makes the version unavailable until a separate undelete action restores it.
Parámetros de entrada
version_pathstringObligatorioGTM API-relative path of the stored container version to archive/delete, in the form accounts/{account_id}/containers/{container_id}/versions/{version_id}. The version remains recoverable only through the separate undelete action.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete EnvironmentGOOGLE_TAG_MANAGER_DELETE_ENVIRONMENTAcciónPermanently delete a user-created Google Tag Manager USER environment. System LIVE, LATEST, and WORKSPACE environments cannot be deleted, and this operation has no confirmation step or undo.
GOOGLE_TAG_MANAGER_DELETE_ENVIRONMENTAcciónPermanently delete a user-created Google Tag Manager USER environment. System LIVE, LATEST, and WORKSPACE environments cannot be deleted, and this operation has no confirmation step or undo.
Parámetros de entrada
environment_pathstringObligatorioGTM API-relative path of the user-created USER environment to permanently delete, in the form accounts/{account_id}/containers/{container_id}/environments/{environment_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete User PermissionGOOGLE_TAG_MANAGER_DELETE_USER_PERMISSIONAcciónRemove the user identified by a Google Tag Manager user-permission path from the account, immediately revoking that user's access to the account and all of its containers. This destructive access revocation has no confirmation step.
GOOGLE_TAG_MANAGER_DELETE_USER_PERMISSIONAcciónRemove the user identified by a Google Tag Manager user-permission path from the account, immediately revoking that user's access to the account and all of its containers. This destructive access revocation has no confirmation step.
Parámetros de entrada
permission_pathstringObligatorioGTM API-relative path of the user permission to delete. Deleting it immediately revokes that user's access to the account and every container in the account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete WorkspaceGOOGLE_TAG_MANAGER_DELETE_WORKSPACEAcciónPermanently delete a Google Tag Manager workspace and all of its unpublished changes. This destructive operation has no API confirmation step or undo.
GOOGLE_TAG_MANAGER_DELETE_WORKSPACEAcciónPermanently delete a Google Tag Manager workspace and all of its unpublished changes. This destructive operation has no API confirmation step or undo.
Parámetros de entrada
workspace_pathstringObligatorioGTM API-relative path of the workspace to permanently delete, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Workspace EntityGOOGLE_TAG_MANAGER_DELETE_WORKSPACE_ENTITYAcciónDelete one client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone from a Google Tag Manager workspace. This destructive staged change can affect a later published container version; only delete entities created or explicitly selected by the caller.
GOOGLE_TAG_MANAGER_DELETE_WORKSPACE_ENTITYAcciónDelete one client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone from a Google Tag Manager workspace. This destructive staged change can affect a later published container version; only delete entities created or explicitly selected by the caller.
Parámetros de entrada
entity_pathstringObligatorioFull GTM API-relative path of the workspace entity to delete, such as accounts/123/containers/456/workspaces/789/tags/1011. The deletion is staged in the workspace and can affect a later published version.
entity_typestringObligatorioenumEntity family to delete. It must match the family segment in entity_path.
clientfoldergoogle_tag_configtagtemplatetransformationtriggervariablezone
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Disable Built-In VariablesGOOGLE_TAG_MANAGER_DISABLE_BUILT_IN_VARIABLESAcciónDisable one or more built-in variable types in a Google Tag Manager workspace. This destructive operation removes those variables from the workspace without a confirmation step.
GOOGLE_TAG_MANAGER_DISABLE_BUILT_IN_VARIABLESAcciónDisable one or more built-in variable types in a Google Tag Manager workspace. This destructive operation removes those variables from the workspace without a confirmation step.
Parámetros de entrada
variable_typesstring[]ObligatorioOne or more provider-enumerated built-in variable types to disable. Each value is sent as a repeated type query parameter.
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enable Built-In VariablesGOOGLE_TAG_MANAGER_ENABLE_BUILT_IN_VARIABLESAcciónEnable one or more provider-defined built-in variable types in a Google Tag Manager workspace.
GOOGLE_TAG_MANAGER_ENABLE_BUILT_IN_VARIABLESAcciónEnable one or more provider-defined built-in variable types in a Google Tag Manager workspace.
Parámetros de entrada
variable_typesstring[]ObligatorioOne or more provider-defined built-in variable types to enable. Each value is sent as a repeated type query parameter.
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AccountGOOGLE_TAG_MANAGER_GET_ACCOUNTAcciónGet one GTM account by its API-relative path.
GOOGLE_TAG_MANAGER_GET_ACCOUNTAcciónGet one GTM account by its API-relative path.
Parámetros de entrada
account_pathstringObligatorioAccount API-relative path in the format accounts/{account_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ContainerGOOGLE_TAG_MANAGER_GET_CONTAINERAcciónGet one GTM container by path, including its configuration metadata, feature flags, tag IDs, and current fingerprint.
GOOGLE_TAG_MANAGER_GET_CONTAINERAcciónGet one GTM container by path, including its configuration metadata, feature flags, tag IDs, and current fingerprint.
Parámetros de entrada
container_pathstringObligatorioGTM API-relative container path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Container SnippetGOOGLE_TAG_MANAGER_GET_CONTAINER_SNIPPETAcciónReturn the installation snippet for a GTM container without changing it.
GOOGLE_TAG_MANAGER_GET_CONTAINER_SNIPPETAcciónReturn the installation snippet for a GTM container without changing it.
Parámetros de entrada
container_pathstringObligatorioGTM API-relative path of the container whose installation snippet to retrieve, in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Container VersionGOOGLE_TAG_MANAGER_GET_CONTAINER_VERSIONAcciónGet a complete GTM container version snapshot by path, including every nested entity family returned by Google Tag Manager.
GOOGLE_TAG_MANAGER_GET_CONTAINER_VERSIONAcciónGet a complete GTM container version snapshot by path, including every nested entity family returned by Google Tag Manager.
Parámetros de entrada
version_pathstringObligatorioGTM API-relative container-version path in the form accounts/{account_id}/containers/{container_id}/versions/{version_id}.
container_version_idstringOptional GTM container-version selector. Use 'published' only when intentionally retrieving the currently published version through this endpoint.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get DestinationGOOGLE_TAG_MANAGER_GET_DESTINATIONAcciónWarning: This method is no longer supported and will soon be removed. Get one linked Google tag destination by its GTM API-relative path.
GOOGLE_TAG_MANAGER_GET_DESTINATIONAcciónWarning: This method is no longer supported and will soon be removed. Get one linked Google tag destination by its GTM API-relative path.
Parámetros de entrada
destination_pathstringObligatorioGTM API-relative destination path returned by list_destinations, in the form accounts/{account_id}/containers/{container_id}/destinations/{destination_link_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get EnvironmentGOOGLE_TAG_MANAGER_GET_ENVIRONMENTAcciónGet one GTM environment, including its authorization metadata, linked container version or workspace, preview settings, and fingerprint.
GOOGLE_TAG_MANAGER_GET_ENVIRONMENTAcciónGet one GTM environment, including its authorization metadata, linked container version or workspace, preview settings, and fingerprint.
Parámetros de entrada
environment_pathstringObligatorioGTM API-relative environment path in the form accounts/{account_id}/containers/{container_id}/environments/{environment_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Latest Version HeaderGOOGLE_TAG_MANAGER_GET_LATEST_VERSION_HEADERAcciónGet the latest GTM container-version header for synchronization context, including its version ID, deletion state, and entity counts.
GOOGLE_TAG_MANAGER_GET_LATEST_VERSION_HEADERAcciónGet the latest GTM container-version header for synchronization context, including its version ID, deletion state, and entity counts.
Parámetros de entrada
container_pathstringObligatorioGTM API-relative parent container path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Live Container VersionGOOGLE_TAG_MANAGER_GET_LIVE_CONTAINER_VERSIONAcciónGet the currently published live GTM container version, including every nested entity family returned by Google Tag Manager.
GOOGLE_TAG_MANAGER_GET_LIVE_CONTAINER_VERSIONAcciónGet the currently published live GTM container version, including every nested entity family returned by Google Tag Manager.
Parámetros de entrada
container_pathstringObligatorioGTM API-relative container path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User PermissionGOOGLE_TAG_MANAGER_GET_USER_PERMISSIONAcciónGet one user's GTM account and container access by permission path.
GOOGLE_TAG_MANAGER_GET_USER_PERMISSIONAcciónGet one user's GTM account and container access by permission path.
Parámetros de entrada
permission_pathstringObligatorioGTM API-relative user-permission path returned by list_user_permissions, in the form accounts/{account_id}/user_permissions/{user_permission_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get WorkspaceGOOGLE_TAG_MANAGER_GET_WORKSPACEAcciónGet one GTM workspace by path, including its current fingerprint.
GOOGLE_TAG_MANAGER_GET_WORKSPACEAcciónGet one GTM workspace by path, including its current fingerprint.
Parámetros de entrada
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Workspace EntityGOOGLE_TAG_MANAGER_GET_WORKSPACE_ENTITYAcciónGet one selected client, folder, Google tag config, tag, template, transformation, trigger, variable, or zone by its GTM API-relative path.
GOOGLE_TAG_MANAGER_GET_WORKSPACE_ENTITYAcciónGet one selected client, folder, Google tag config, tag, template, transformation, trigger, variable, or zone by its GTM API-relative path.
Parámetros de entrada
entity_pathstringObligatorioFull GTM API-relative entity path returned by List Workspace Entities, such as accounts/123/containers/456/workspaces/789/tags/1011.
entity_typestringObligatorioenumExpected GTM entity family. This selects a fixed provider route and response schema.
clientfoldergoogle_tag_configtagtemplatetransformationtriggervariablezone
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Workspace StatusGOOGLE_TAG_MANAGER_GET_WORKSPACE_STATUSAcciónReturn modified entities and merge conflicts in a GTM workspace before synchronization or version creation.
GOOGLE_TAG_MANAGER_GET_WORKSPACE_STATUSAcciónReturn modified entities and merge conflicts in a GTM workspace before synchronization or version creation.
Parámetros de entrada
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Import Template From GalleryGOOGLE_TAG_MANAGER_IMPORT_TEMPLATE_FROM_GALLERYAcciónImport an exact Community Template Gallery repository revision into a Google Tag Manager workspace after explicitly acknowledging its requested permissions. Omit gallery_sha only when the provider's latest revision is intended.
GOOGLE_TAG_MANAGER_IMPORT_TEMPLATE_FROM_GALLERYAcciónImport an exact Community Template Gallery repository revision into a Google Tag Manager workspace after explicitly acknowledging its requested permissions. Omit gallery_sha only when the provider's latest revision is intended.
Parámetros de entrada
gallery_shastringExact repository commit SHA to import. Omit this field to let Google Tag Manager select the latest SHA.
gallery_ownerstringObligatorioExact owner of the Community Template Gallery repository.
workspace_pathstringObligatorioGTM API-relative path of the workspace receiving the template, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
gallery_repositorystringObligatorioExact name of the Community Template Gallery repository.
acknowledge_permissionsbooleanObligatorioMust be true to explicitly accept the template's requested permissions; Google Tag Manager rejects the import otherwise.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Link DestinationGOOGLE_TAG_MANAGER_LINK_DESTINATIONAcciónMove a Google tag destination from its currently linked container to a target GTM container. This broad-impact, irreversible relink causes all future events from the target source container to be sent to the destination, stops the previous container from being its source, and may enable user-permission support when explicitly allowed. Verify both the destination and target container before calling. Google has deprecated this provider method.
GOOGLE_TAG_MANAGER_LINK_DESTINATIONAcciónMove a Google tag destination from its currently linked container to a target GTM container. This broad-impact, irreversible relink causes all future events from the target source container to be sent to the destination, stops the previous container from being its source, and may enable user-permission support when explicitly allowed. Verify both the destination and target container before calling. Google has deprecated this provider method.
Parámetros de entrada
container_pathstringObligatorioAPI-relative path of the target container that will become the source container, in the form accounts/{account_id}/containers/{container_id}. After linking, all future events from this container are sent to the destination.
destination_idstringObligatorioID of the destination to move and link. Linking removes the destination from its currently linked container and sends it all future events from the target source container.
allow_user_permission_feature_updatebooleanSet true only to permit GTM to enable the target container's user-permissions feature when required. The link fails instead of changing that feature when this is false.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AccountsGOOGLE_TAG_MANAGER_LIST_ACCOUNTSAcciónList GTM accounts visible to the connected user, one page at a time.
GOOGLE_TAG_MANAGER_LIST_ACCOUNTSAcciónList GTM accounts visible to the connected user, one page at a time.
Parámetros de entrada
next_cursorstringContinuation cursor from a previous response. Omit for the first page and pass it back unchanged to fetch the next page.
include_google_tagsbooleanSet true to also retrieve accounts associated with Google tags.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Built-In VariablesGOOGLE_TAG_MANAGER_LIST_BUILT_IN_VARIABLESAcciónList enabled built-in variables in a workspace one page at a time.
GOOGLE_TAG_MANAGER_LIST_BUILT_IN_VARIABLESAcciónList enabled built-in variables in a workspace one page at a time.
Parámetros de entrada
next_cursorstringContinuation token returned by a previous call; omit for the first page.
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ContainersGOOGLE_TAG_MANAGER_LIST_CONTAINERSAcciónList GTM containers under an account with paths, public IDs, fingerprints, and capability flags, one page at a time.
GOOGLE_TAG_MANAGER_LIST_CONTAINERSAcciónList GTM containers under an account with paths, public IDs, fingerprints, and capability flags, one page at a time.
Parámetros de entrada
next_cursorstringContinuation token returned by a previous call; omit for the first page.
account_pathstringObligatorioParent GTM account API-relative path, such as accounts/123456789.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Container Version HeadersGOOGLE_TAG_MANAGER_LIST_CONTAINER_VERSION_HEADERSAcciónList lightweight GTM container-version headers one page at a time, optionally including deleted versions.
GOOGLE_TAG_MANAGER_LIST_CONTAINER_VERSION_HEADERSAcciónList lightweight GTM container-version headers one page at a time, optionally including deleted versions.
Parámetros de entrada
next_cursorstringContinuation token returned by a previous call; omit for the first page.
container_pathstringObligatorioParent GTM API-relative container path in the form accounts/{account_id}/containers/{container_id}.
include_deletedbooleanInclude archived or deleted container versions.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DestinationsGOOGLE_TAG_MANAGER_LIST_DESTINATIONSAcciónList all destinations linked to a GTM container. The provider exposes no continuation input, so this returns one provider response.
GOOGLE_TAG_MANAGER_LIST_DESTINATIONSAcciónList all destinations linked to a GTM container. The provider exposes no continuation input, so this returns one provider response.
Parámetros de entrada
container_pathstringObligatorioParent GTM container API-relative path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List EnvironmentsGOOGLE_TAG_MANAGER_LIST_ENVIRONMENTSAcciónList GTM environments in a container one page at a time.
GOOGLE_TAG_MANAGER_LIST_ENVIRONMENTSAcciónList GTM environments in a container one page at a time.
Parámetros de entrada
next_cursorstringContinuation token returned by a previous call; omit for the first page.
container_pathstringObligatorioParent GTM API-relative container path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Folder EntitiesGOOGLE_TAG_MANAGER_LIST_FOLDER_ENTITIESAcciónList the tags, triggers, and variables contained in one Google Tag Manager folder, one page at a time.
GOOGLE_TAG_MANAGER_LIST_FOLDER_ENTITIESAcciónList the tags, triggers, and variables contained in one Google Tag Manager folder, one page at a time.
Parámetros de entrada
folder_pathstringObligatorioGTM API-relative folder path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}.
next_cursorstringContinuation token returned by a previous call for the same folder; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List User PermissionsGOOGLE_TAG_MANAGER_LIST_USER_PERMISSIONSAcciónList users with access to a GTM account and their account- and container-level permissions one page at a time. Results include sensitive user email addresses.
GOOGLE_TAG_MANAGER_LIST_USER_PERMISSIONSAcciónList users with access to a GTM account and their account- and container-level permissions one page at a time. Results include sensitive user email addresses.
Parámetros de entrada
next_cursorstringContinuation token returned by a previous call; omit for the first page.
account_pathstringObligatorioParent GTM API-relative account path in the form accounts/{account_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Workspace EntitiesGOOGLE_TAG_MANAGER_LIST_WORKSPACE_ENTITIESAcciónList one selected GTM workspace entity family: clients, folders, Google tag configs, tags, templates, transformations, triggers, variables, or zones.
GOOGLE_TAG_MANAGER_LIST_WORKSPACE_ENTITIESAcciónList one selected GTM workspace entity family: clients, folders, Google tag configs, tags, templates, transformations, triggers, variables, or zones.
Parámetros de entrada
entity_typestringObligatorioenumEntity family to list. Supported values are client, folder, google_tag_config, tag, template, transformation, trigger, variable, and zone.
clientfoldergoogle_tag_configtagtemplatetransformationtriggervariablezonenext_cursorstringContinuation token returned by a previous call for the same workspace and entity type; omit for the first page.
workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List WorkspacesGOOGLE_TAG_MANAGER_LIST_WORKSPACESAcciónList GTM workspaces in a container with paths and fingerprints, one page at a time.
GOOGLE_TAG_MANAGER_LIST_WORKSPACESAcciónList GTM workspaces in a container with paths and fingerprints, one page at a time.
Parámetros de entrada
next_cursorstringContinuation token returned by a previous call; omit for the first page.
container_pathstringObligatorioParent GTM API-relative container path in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Look Up ContainerGOOGLE_TAG_MANAGER_LOOKUP_CONTAINERAcciónFind one Google Tag Manager container by exactly one tag ID or destination ID.
GOOGLE_TAG_MANAGER_LOOKUP_CONTAINERAcciónFind one Google Tag Manager container by exactly one tag ID or destination ID.
Parámetros de entrada
tag_idstringTag ID to resolve; provide exactly one of tag_id or destination_id.
destination_idstringDestination ID to resolve; provide exactly one of destination_id or tag_id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Move Container Tag IDGOOGLE_TAG_MANAGER_MOVE_CONTAINER_TAG_IDAcciónMove a tag ID out of a GTM container into a newly created Google tag. This deprecated, irreversible container-level operation removes the ID from the source container across its workspaces and associated configuration; it is not scoped to one workspace. It can also copy tag settings, users, and accepted terms, and may enable user-permission support.
GOOGLE_TAG_MANAGER_MOVE_CONTAINER_TAG_IDAcciónMove a tag ID out of a GTM container into a newly created Google tag. This deprecated, irreversible container-level operation removes the ID from the source container across its workspaces and associated configuration; it is not scoped to one workspace. It can also copy tag settings, users, and accepted terms, and may enable user-permission support.
Parámetros de entrada
tag_idstringObligatorioTag ID to remove from the current container and move to the newly created Google tag.
tag_namestringObligatorioName for the newly created Google tag that receives the tag ID.
copy_usersbooleanWhether to copy the current Google tag's users to the new tag.
copy_settingsbooleanWhether to copy the current Google tag's settings to the new tag.
container_pathstringObligatorioCurrent GTM container path in the form accounts/{account_id}/containers/{container_id}. The tag ID is removed from this container at container scope, not from only one workspace.
copy_terms_of_servicebooleanWhether to accept all terms-of-service agreements copied from the current tag. The provider can reject the operation unless this is true.
allow_user_permission_feature_updatebooleanWhether GTM may enable the container's user-permissions feature when the move requires it. The provider rejects such an update when false.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Move Entities To FolderGOOGLE_TAG_MANAGER_MOVE_ENTITIES_TO_FOLDERAcciónMove selected tags, triggers, and variables into a Google Tag Manager folder, or move them out of folders by targeting folder ID 0.
GOOGLE_TAG_MANAGER_MOVE_ENTITIES_TO_FOLDERAcciónMove selected tags, triggers, and variables into a Google Tag Manager folder, or move them out of folders by targeting folder ID 0.
Parámetros de entrada
folderobjectObligatorioProvider-shaped destination Folder body. Identity fields, when supplied, must identify the same folder as folder_path.
tag_idsstring[]Tag IDs to move, each sent as a repeated tagId query parameter.
folder_pathstringObligatorioDestination GTM folder API-relative path. Use folder ID 0 to move the selected entities out of their current folders.
trigger_idsstring[]Trigger IDs to move, each sent as a repeated triggerId query parameter.
variable_idsstring[]Variable IDs to move, each sent as a repeated variableId query parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Publish Container VersionGOOGLE_TAG_MANAGER_PUBLISH_CONTAINER_VERSIONAcciónPublish a specific Google Tag Manager container version to live traffic immediately. This is not a preview: it changes production tagging and has irreversible live impact for traffic processed before any later rollback. Verify the exact version and its fingerprint before publishing. A Google compiler error is surfaced as a failed action even when the API returns HTTP 200.
GOOGLE_TAG_MANAGER_PUBLISH_CONTAINER_VERSIONAcciónPublish a specific Google Tag Manager container version to live traffic immediately. This is not a preview: it changes production tagging and has irreversible live impact for traffic processed before any later rollback. Verify the exact version and its fingerprint before publishing. A Google compiler error is surfaced as a failed action even when the API returns HTTP 200.
Parámetros de entrada
fingerprintstringLatest stored version fingerprint for optimistic concurrency. When set, publishing fails if the version changed since this fingerprint was read.
version_pathstringObligatorioGTM API-relative path of the specific container version to publish to live traffic, in the form accounts/{account_id}/containers/{container_id}/versions/{version_id}. Publishing has irreversible live impact; verify the account, container, and version before calling.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Quick Preview WorkspaceGOOGLE_TAG_MANAGER_QUICK_PREVIEW_WORKSPACEAcciónCreate a temporary Google Tag Manager container version from all entities in a workspace for preview without publishing it to live traffic. Compiler errors, synchronization errors, and merge conflicts are returned as failed actions rather than successful previews.
GOOGLE_TAG_MANAGER_QUICK_PREVIEW_WORKSPACEAcciónCreate a temporary Google Tag Manager container version from all entities in a workspace for preview without publishing it to live traffic. Compiler errors, synchronization errors, and merge conflicts are returned as failed actions rather than successful previews.
Parámetros de entrada
workspace_pathstringObligatorioGTM API-relative path of the workspace to compile into a temporary preview version, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reauthorize EnvironmentGOOGLE_TAG_MANAGER_REAUTHORIZE_ENVIRONMENTAcciónReauthorize a Google Tag Manager environment and rotate its authorization metadata for preview or debug use. This is a broad-impact, irreversible operation: the existing authorization code can become invalid immediately, breaking clients that still use it.
GOOGLE_TAG_MANAGER_REAUTHORIZE_ENVIRONMENTAcciónReauthorize a Google Tag Manager environment and rotate its authorization metadata for preview or debug use. This is a broad-impact, irreversible operation: the existing authorization code can become invalid immediately, breaking clients that still use it.
Parámetros de entrada
environmentobjectObligatorioProvider-shaped current Environment state to submit. Supply only fields that should be sent; omitted and null fields are not included in the body.
environment_pathstringObligatorioGTM API-relative environment path in the form accounts/{account_id}/containers/{container_id}/environments/{environment_id}. Reauthorizing it can immediately invalidate its existing authorization code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resolve Workspace ConflictGOOGLE_TAG_MANAGER_RESOLVE_WORKSPACE_CONFLICTAcciónResolve one Google Tag Manager workspace merge conflict by replacing the conflicted entity with exactly one complete, typed Entity resolution. Use the entityInWorkspace fingerprint from the conflict to prevent a concurrent overwrite.
GOOGLE_TAG_MANAGER_RESOLVE_WORKSPACE_CONFLICTAcciónResolve one Google Tag Manager workspace merge conflict by replacing the conflicted entity with exactly one complete, typed Entity resolution. Use the entityInWorkspace fingerprint from the conflict to prevent a concurrent overwrite.
Parámetros de entrada
fingerprintstringFingerprint of entityInWorkspace from the merge conflict. It is sent only as a query parameter for optimistic concurrency.
workspace_pathstringObligatorioAPI-relative path of the workspace containing the conflict, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
resolved_entityobjectObligatorioComplete provider-shaped Entity resolution. Set exactly one of builtInVariable, client, customTemplate, folder, gtagConfig, tag, transformation, trigger, variable, or zone.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resolve Workspace ConflictsGOOGLE_TAG_MANAGER_RESOLVE_WORKSPACE_CONFLICTSAcciónSequentially resolve 1-25 Google Tag Manager workspace merge conflicts. Each successful item mutates workspace state without publishing it, so partial success is possible. Processing stops after the first failed or unknown provider outcome, and all later items are marked not_attempted.
GOOGLE_TAG_MANAGER_RESOLVE_WORKSPACE_CONFLICTSAcciónSequentially resolve 1-25 Google Tag Manager workspace merge conflicts. Each successful item mutates workspace state without publishing it, so partial success is possible. Processing stops after the first failed or unknown provider outcome, and all later items are marked not_attempted.
Parámetros de entrada
resolutionsobject[]ObligatorioOrdered conflict resolutions to apply sequentially. Pass 1-25 items; each item must contain one complete typed resolved_entity and its corresponding fingerprint when available.
workspace_pathstringObligatorioAPI-relative path of the workspace containing the conflicts, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revert Built-In VariableGOOGLE_TAG_MANAGER_REVERT_BUILT_IN_VARIABLEAcciónRevert one built-in variable type in a Google Tag Manager workspace to its latest synchronized base state. This permanently discards current workspace changes to that variable and may leave it enabled or disabled, as reported in the result.
GOOGLE_TAG_MANAGER_REVERT_BUILT_IN_VARIABLEAcciónRevert one built-in variable type in a Google Tag Manager workspace to its latest synchronized base state. This permanently discards current workspace changes to that variable and may leave it enabled or disabled, as reported in the result.
Parámetros de entrada
variable_typestringObligatorioenumSingle provider-enumerated built-in variable type to revert.
builtInVariableTypeUnspecifiedpageUrlpageHostnamepagePathreferrereventclickElementclickClassesclickIdclickTargetclickUrlclickText+105workspace_pathstringObligatorioGTM API-relative workspace path in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revert Workspace EntityGOOGLE_TAG_MANAGER_REVERT_WORKSPACE_ENTITYAcciónRevert a client, folder, tag, template, transformation, trigger, variable, or zone to its latest synchronized base state without publishing it. Current workspace changes to the entity are permanently discarded, and an entity absent from the base may be removed.
GOOGLE_TAG_MANAGER_REVERT_WORKSPACE_ENTITYAcciónRevert a client, folder, tag, template, transformation, trigger, variable, or zone to its latest synchronized base state without publishing it. Current workspace changes to the entity are permanently discarded, and an entity absent from the base may be removed.
Parámetros de entrada
entity_pathstringObligatorioFull GTM API-relative entity path, such as accounts/123/containers/456/workspaces/789/tags/1011.
entity_typestringObligatorioenumRevert-capable GTM entity family. Google tag configurations do not support revert.
clientfoldertagtemplatetransformationtriggervariablezonefingerprintstringLatest workspace entity fingerprint for optimistic concurrency. It is sent only as the fingerprint query parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set Latest Container VersionGOOGLE_TAG_MANAGER_SET_LATEST_CONTAINER_VERSIONAcciónSet a stored Google Tag Manager container version as the latest base used when synchronizing workspaces and detecting conflicts or errors. This changes workspace synchronization state only; it does not publish the version or change the container version serving live traffic.
GOOGLE_TAG_MANAGER_SET_LATEST_CONTAINER_VERSIONAcciónSet a stored Google Tag Manager container version as the latest base used when synchronizing workspaces and detecting conflicts or errors. This changes workspace synchronization state only; it does not publish the version or change the container version serving live traffic.
Parámetros de entrada
version_pathstringObligatorioGTM API-relative path of the stored container version to make the latest workspace synchronization base. This changes conflict and error detection for workspace synchronization but does not publish the version to live traffic.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Sync WorkspaceGOOGLE_TAG_MANAGER_SYNC_WORKSPACEAcciónSynchronize a Google Tag Manager workspace to the latest container version. GTM updates unmodified workspace entities to the latest version and returns conflicts for modified entities. A response containing conflicts is still a successful synchronization, but no container version can be created until all conflicts are resolved.
GOOGLE_TAG_MANAGER_SYNC_WORKSPACEAcciónSynchronize a Google Tag Manager workspace to the latest container version. GTM updates unmodified workspace entities to the latest version and returns conflicts for modified entities. A response containing conflicts is still a successful synchronization, but no container version can be created until all conflicts are resolved.
Parámetros de entrada
workspace_pathstringObligatorioGTM API-relative path of the workspace to synchronize, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Undelete Container VersionGOOGLE_TAG_MANAGER_UNDELETE_CONTAINER_VERSIONAcciónRestore a previously deleted Google Tag Manager container version.
GOOGLE_TAG_MANAGER_UNDELETE_CONTAINER_VERSIONAcciónRestore a previously deleted Google Tag Manager container version.
Parámetros de entrada
version_pathstringObligatorioGTM API-relative path of the deleted container version to restore, in the form accounts/{account_id}/containers/{container_id}/versions/{version_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update AccountGOOGLE_TAG_MANAGER_UPDATE_ACCOUNTAcciónUpdate one or more editable Google Tag Manager account fields, optionally requiring the latest fingerprint to prevent a concurrent overwrite.
GOOGLE_TAG_MANAGER_UPDATE_ACCOUNTAcciónUpdate one or more editable Google Tag Manager account fields, optionally requiring the latest fingerprint to prevent a concurrent overwrite.
Parámetros de entrada
accountobjectObligatorioOne or more writable account fields to update. Supply name, share_data, or both; read-only fields are not accepted.
fingerprintstringLatest account fingerprint to require for optimistic concurrency.
account_pathstringObligatorioAccount API-relative path to update, such as accounts/123456.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ContainerGOOGLE_TAG_MANAGER_UPDATE_CONTAINERAcciónUpdate one or more editable Google Tag Manager container fields, optionally requiring the latest fingerprint to prevent a concurrent overwrite.
GOOGLE_TAG_MANAGER_UPDATE_CONTAINERAcciónUpdate one or more editable Google Tag Manager container fields, optionally requiring the latest fingerprint to prevent a concurrent overwrite.
Parámetros de entrada
containerobjectObligatorioOne or more writable container fields to update. Omit read-only fields and fields that should not be changed.
fingerprintstringLatest container fingerprint to require for optimistic concurrency.
container_pathstringObligatorioGTM API-relative path of the container to update, in the form accounts/{account_id}/containers/{container_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Container VersionGOOGLE_TAG_MANAGER_UPDATE_CONTAINER_VERSIONAcciónUpdate one or more editable metadata or content fields of a stored Google Tag Manager container version, optionally requiring its latest fingerprint to prevent a concurrent overwrite.
GOOGLE_TAG_MANAGER_UPDATE_CONTAINER_VERSIONAcciónUpdate one or more editable metadata or content fields of a stored Google Tag Manager container version, optionally requiring its latest fingerprint to prevent a concurrent overwrite.
Parámetros de entrada
fingerprintstringLatest stored-version fingerprint to require for optimistic concurrency.
version_pathstringObligatorioGTM API-relative path of the stored version to update, in the form accounts/{account_id}/containers/{container_id}/versions/{version_id}.
container_versionobjectObligatorioOne or more provider-shaped version fields to update. Supply only the fields to replace; read-only IDs, paths, deletion state, fingerprint, and UI URL are omitted.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update EnvironmentGOOGLE_TAG_MANAGER_UPDATE_ENVIRONMENTAcciónUpdate one or more writable Google Tag Manager environment fields. Non-user environments permit only debug and preview URL changes; an optional current fingerprint prevents concurrent overwrite.
GOOGLE_TAG_MANAGER_UPDATE_ENVIRONMENTAcciónUpdate one or more writable Google Tag Manager environment fields. Non-user environments permit only debug and preview URL changes; an optional current fingerprint prevents concurrent overwrite.
Parámetros de entrada
environmentobjectObligatorioOne or more writable environment fields to update. For a non-user environment, supply only enable_debug and url because Google Tag Manager rejects other changes.
fingerprintstringLatest environment fingerprint to require for optimistic concurrency.
environment_pathstringObligatorioGTM API-relative path of the environment to update, in the form accounts/{account_id}/containers/{container_id}/environments/{environment_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update User PermissionGOOGLE_TAG_MANAGER_UPDATE_USER_PERMISSIONAcciónReplace an existing user's Google Tag Manager account and container access. This can immediately grant or revoke account administration and container read, edit, approve, or publish capabilities. The supplied access is a complete replacement, so verify the current permission first and include every container grant that must remain. This can lock the affected user, including yourself, out of the account or its containers.
GOOGLE_TAG_MANAGER_UPDATE_USER_PERMISSIONAcciónReplace an existing user's Google Tag Manager account and container access. This can immediately grant or revoke account administration and container read, edit, approve, or publish capabilities. The supplied access is a complete replacement, so verify the current permission first and include every container grant that must remain. This can lock the affected user, including yourself, out of the account or its containers.
Parámetros de entrada
permissionobjectObligatorioComplete replacement access for the existing user. The user identity comes from permission_path and cannot be changed by this action. Omitted container grants are not preserved.
permission_pathstringObligatorioExisting GTM user-permission API-relative path whose access will be replaced, in the form accounts/{account_id}/user_permissions/{user_permission_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update WorkspaceGOOGLE_TAG_MANAGER_UPDATE_WORKSPACEAcciónUpdate one or more editable Google Tag Manager workspace metadata fields, optionally requiring the latest fingerprint to prevent a concurrent overwrite.
GOOGLE_TAG_MANAGER_UPDATE_WORKSPACEAcciónUpdate one or more editable Google Tag Manager workspace metadata fields, optionally requiring the latest fingerprint to prevent a concurrent overwrite.
Parámetros de entrada
workspaceobjectObligatorioOne or more writable workspace metadata fields to update.
fingerprintstringLatest workspace fingerprint to require for optimistic concurrency. It is sent as a query parameter, not in the workspace body.
workspace_pathstringObligatorioGTM API-relative path of the workspace to update, in the form accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Workspace EntityGOOGLE_TAG_MANAGER_UPDATE_WORKSPACE_ENTITYAcciónUpdate one strictly typed client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone in a Google Tag Manager workspace, optionally guarded by its latest fingerprint. This stages the change but does not publish it.
GOOGLE_TAG_MANAGER_UPDATE_WORKSPACE_ENTITYAcciónUpdate one strictly typed client, folder, Google tag configuration, tag, custom template, transformation, trigger, variable, or zone in a Google Tag Manager workspace, optionally guarded by its latest fingerprint. This stages the change but does not publish it.
Parámetros de entrada
entityobjectObligatorioExactly one provider-shaped payload under the key matching entity_type, with one or more writable fields to update. Read-only fields are rejected.
entity_pathstringObligatorioFull GTM API-relative entity path, such as accounts/123/containers/456/workspaces/789/tags/1011.
entity_typestringObligatorioenumEntity family to update; selects exact path and body validation.
clientfoldergoogle_tag_configtagtemplatetransformationtriggervariablezonefingerprintstringLatest entity fingerprint for optimistic concurrency. It is sent only as the fingerprint query parameter.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not