Skip to main content
Snapshots a Google Tag Manager workspace into a new container version, ready for gtm_publish_version. GTM deletes the workspace after versioning and replaces it with a new default workspace. Fails if the workspace has compiler errors or merge conflicts; Google reports only that compiler errors exist, so the specific errors have to be reviewed in the Tag Manager interface.

Inputs

Output

Type: Dict Returns the created containerVersion (with containerVersionId) and related fields as provided by the Tag Manager API.