gtm_containers_update {googleTagManageR} | R Documentation |
Updates a GTM Container
Description
This updates a GTM Container. Although you can't change the type of container, it is still required for this function to work.
Usage
gtm_containers_update(
account_id,
container_id,
name,
type = c("amp", "androidSdk5", "iosSdk5", "web", "server"),
domain_name = "",
notes = ""
)
Arguments
account_id |
Account Id |
container_id |
Container Id |
name |
Container Name |
type |
Container Use Type, one of web, iosSdk5, androidSdk5, amp or server |
domain_name |
List of domain names associated with the Container. |
notes |
Container Notes. |
See Also
https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/update
Other container functions:
gtm_containers_create()
,
gtm_containers_delete()
,
gtm_containers_get()
,
gtm_containers_list()
Examples
## Not run:
accountId <- 1234567
containerId <- 7654321
containers <- gtm_containers_update(accountId, containerId, 'New Container Name', 'amp')
## End(Not run)
[Package googleTagManageR version 0.2.0 Index]