gtm_workspaces_submit: Create a new container version

View source: R/workspaces.R

gtm_workspaces_submitR Documentation

Create a new container version

Description

This creates a new version of the GTM container, but does not publish it as a live version. The name and notes will be permanently visible for the container version.

Usage

gtm_workspaces_submit(
  account_id,
  container_id,
  workspace_id,
  name,
  notes = NULL
)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

name

Version Name

notes

Version Notes

See Also

https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/create_version

Other workspace functions: gtm_workspaces_create(), gtm_workspaces_delete(), gtm_workspaces_get(), gtm_workspaces_list(), gtm_workspaces_preview(), gtm_workspaces_resolve(), gtm_workspaces_status(), gtm_workspaces_sync(), gtm_workspaces_update()

Examples


## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 6
name <- 'New Analytics Tags'
notes <- 'Adding element visibility tags and scroll tracking'

workspace <- gtm_workspaces_update(accountId, containerId, workspaceId, name, notes)


## End(Not run)



googleTagManageR documentation built on April 17, 2022, 1:05 a.m.