gtm_variables_revert: Reverts a variable to its original state

Description Usage Arguments See Also Examples

View source: R/variables.R

Description

This reverts a variable back to its original, unmodified state.

Usage

1
gtm_variables_revert(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-manager/api/v2/reference/accounts/containers/workspaces/variables/revert

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 10
variableId <- 102

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

# Changes to variable 22 have been reverted

## End(Not run)

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