gtm_containers_create {googleTagManageR} | R Documentation |
Creates a new container in an acount
Description
This creates a new container in the specified account.
Usage
gtm_containers_create(
account_id,
name,
type = c("web", "iosSdk5", "androidSdk5", "amp", "server"),
domain_name = NULL,
notes = NULL
)
Arguments
account_id |
Account 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/create
Other container functions:
gtm_containers_delete()
,
gtm_containers_get()
,
gtm_containers_list()
,
gtm_containers_update()
Examples
## Not run:
accountId <- 1234567
newName <- "My New Container"
container <- gtm_containers_create(accountId, newName, 'web')
## End(Not run)
[Package googleTagManageR version 0.2.0 Index]