Learn R Programming

googleTagManageR (version 0.1.6)

gtm_folders_update: Updates a GTM Folder

Description

This updates a folder in the specified workspaces

Usage

gtm_folders_update(
  account_id,
  container_id,
  workspace_id,
  folder_id,
  name = NULL,
  notes = NULL
)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

folder_id

Folder Id

name

Folder display name

notes

User notes on how to apply this folder in the container.

See Also

https://developers.google.com/tag-manager/api/v2/reference/accounts/containers/workspaces/folders/update

Other folder functions: gtm_folders_create(), gtm_folders_delete(), gtm_folders_entities(), gtm_folders_get(), gtm_folders_list(), gtm_folders_move(), gtm_folders_revert()

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
accountId <- 1234567
containerId <- 7654321
workspaceId <- 3
folderName <- "New Analytics Tags"
folderNotes <- "All our website's Google Analytics App+Web Tags"

folder <- gtm_folders_update(accountId, containerId, workspaceId, folderName, folderNotes)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab