Learn R Programming

googleTagManageR (version 0.1.6)

gtm_versions_update: Update a container version

Description

Updates a container Version

Usage

gtm_versions_update(
  account_id,
  container_id,
  version_id,
  name = NULL,
  description = NULL
)

Arguments

account_id

Account Id

container_id

Container Id

version_id

Version Id

name

Version Name

description

Version Description

See Also

https://developers.google.com/tag-manager/api/v2/reference/accounts/containers/versions/update

Other version functions: gtm_versions_delete(), gtm_versions_get()

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
accountId <- 1234567
containerId <- 7654321
versionId <- 6
newName <- 'My Cool New Version'
newDescription <- 'My new version does something cool'
version <- gtm_versions_update(accountId, containerId, versionId, newName, newDescription)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab