Transformations: create

Creates a GTM Transformation. Try it now.


HTTP request



Parameter name Value Description
Path parameters
parent string GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

In the request body, supply a Transformations resource with the following properties:

Property name Value Description Notes
Required Properties
name string Transformation display name. writable
type string Transformation type. writable
Optional Properties
notes string User notes on how to apply this transformation in the container. writable
parameter[] list The transformation's parameters. writable
parameter[].isWeakReference boolean Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. writable


If successful, this method returns a Transformations resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.