gtm_headers_list: List all container versions of a GTM container

View source: R/version_headers.R

gtm_headers_listR Documentation

List all container versions of a GTM container

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

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-platform/tag-manager/api/v2/reference/accounts/containers/version_headers/list

Other version header functions: gtm_headers_latest()

Examples

## 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 April 17, 2022, 1:05 a.m.