gtm_headers_list: List all container versions of a GTM container

Description Usage Arguments See Also Examples

View source: R/version_headers.R

Description

This will return a data frame all container versions. If you want to get the information for the most recent version, use gtm_headers_latest

Usage

1
gtm_headers_list(account_id, container_id, includeDeleted = c("TRUE", "FALSE"))

Arguments

account_id

Account Id

container_id

Container Id

includeDeleted

Include deleted version - Default False

See Also

https://developers.google.com/tag-manager/api/v2/reference/accounts/containers/version_headers/list

Other version header functions: gtm_headers_latest()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 

accountId <- 1234567
containerId <- 7654321


headers <- gtm_headers_list(accountId, containerId)

headersWithDeleted <- gtm_headers_list(accountId, containerId, 'TRUE')


## End(Not run)

googleTagManageR documentation built on Oct. 23, 2020, 6:32 p.m.