gtm_variables_get: List all variables in a workspace

View source: R/variables.R

gtm_variables_getR Documentation

List all variables in a workspace

Description

This will return a list with the settings of a single variable. If you want to get the information for all variables, use gtm_variables_list

Usage

gtm_variables_get(account_id, container_id, workspace_id, variable_id)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

variable_id

Variable Id

See Also

https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/variables/get

Other variable functions: gtm_variables_create(), gtm_variables_delete(), gtm_variables_list(), gtm_variables_revert(), gtm_variables_update()

Examples


## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 10
variableId = 100

variable <- gtm_variables_get(accountId, containerId, workspaceId, variableId)


## End(Not run)


jamescottrill/googleTagManageR documentation built on April 21, 2022, 5:40 p.m.