Sets the given container version as the latest version
gtm_versions_setlatest(account_id, container_id, version_id)
Account Id
Container Id
Version Id
https://developers.google.com/tag-manager/api/v2/reference/accounts/containers/versions/set_latest
Other versions functions:
gtm_versions_publish()
,
gtm_versions_undelete()
# NOT RUN {
# }
# NOT RUN {
accountId <- 1234567
containerId <- 7654321
versionId <- 6
version <- gtm_versions_setlatest(accountId, containerId, versionId)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab