Tag Manager API (tagmanager:v2)

2023-06-14

6 new methods

Additions

    Methods
  • tagmanager.accounts.containers.workspaces.transformations.update

      Description: Updates a GTM Transformation.

      Flat Path: tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}

      HTTP Method: PUT

      Parameters:

        path

          Type: string

          Required: Yes

          Location: path

          Description: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}

          Pattern: ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$

        fingerprint

          Location: query

          Type: string

          Description: When provided, this fingerprint must match the fingerprint of the transformation in storage.

      Scopes: https://www.googleapis.com/auth/tagmanager.edit.containers

      Parameter Order: path

      Path: tagmanager/v2/{+path}

  • tagmanager.accounts.containers.workspaces.transformations.list

      HTTP Method: GET

      Description: Lists all GTM Transformations of a GTM container workspace.

      Scopes:

    • https://www.googleapis.com/auth/tagmanager.edit.containers
    • https://www.googleapis.com/auth/tagmanager.readonly
    • Flat Path: tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations

      Path: tagmanager/v2/{+parent}/transformations

      Parameters:

        pageToken

          Location: query

          Description: Continuation token for fetching the next page of results.

          Type: string

        parent

          Pattern: ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$

          Type: string

          Location: path

          Required: Yes

          Description: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

      Parameter Order: parent

  • tagmanager.accounts.containers.workspaces.transformations.create

      Parameters:

        parent

          Description: GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}

          Required: Yes

          Pattern: ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+$

          Location: path

          Type: string

      Path: tagmanager/v2/{+parent}/transformations

      HTTP Method: POST

      Description: Creates a GTM Transformation.

      Parameter Order: parent

      Scopes: https://www.googleapis.com/auth/tagmanager.edit.containers

      Flat Path: tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations

  • tagmanager.accounts.containers.workspaces.transformations.get

      Path: tagmanager/v2/{+path}

      HTTP Method: GET

      Parameters:

        path

          Pattern: ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$

          Location: path

          Required: Yes

          Type: string

          Description: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}

      Description: Gets a GTM Transformation.

      Flat Path: tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}

      Scopes:

    • https://www.googleapis.com/auth/tagmanager.edit.containers
    • https://www.googleapis.com/auth/tagmanager.readonly
    • Parameter Order: path

  • tagmanager.accounts.containers.workspaces.transformations.revert

      Path: tagmanager/v2/{+path}:revert

      Scopes: https://www.googleapis.com/auth/tagmanager.edit.containers

      HTTP Method: POST

      Description: Reverts changes to a GTM Transformation in a GTM Workspace.

      Parameters:

        fingerprint

          Type: string

          Description: When provided, this fingerprint must match the fingerprint of the transformation in storage.

          Location: query

        path

          Type: string

          Required: Yes

          Pattern: ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$

          Description: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}

          Location: path

      Flat Path: tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}:revert

      Parameter Order: path

  • tagmanager.accounts.containers.workspaces.transformations.delete

      Path: tagmanager/v2/{+path}

      Parameters:

        path

          Location: path

          Description: GTM Transformation's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/transformations/{transformation_id}

          Type: string

          Pattern: ^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/transformations/[^/]+$

          Required: Yes

      Flat Path: tagmanager/v2/accounts/{accountsId}/containers/{containersId}/workspaces/{workspacesId}/transformations/{transformationsId}

      Description: Deletes a GTM Transformation.

      Parameter Order: path

      HTTP Method: DELETE

      Scopes: https://www.googleapis.com/auth/tagmanager.edit.containers