gtm_folders_move {googleTagManageR}R Documentation

Move entities to a new folder

Description

This moves entities to a new folder.

Usage

gtm_folders_move(
  account_id,
  container_id,
  workspace_id,
  folder_id,
  tags = NULL,
  triggers = NULL,
  variables = NULL
)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

folder_id

Folder Id

tags

The tags to be moved to the folder. This can either be an individual tag Id or a list of tag Ids

triggers

The triggers to be moved to the folder. This can either be an individual trigger Id or a list of trigger Ids

variables

The variables to be moved to the folder. This can either be an individual variable Id or a list of variable Ids

See Also

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

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

Examples


## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 3
folderId <- 1
tags = 12


gtm_folders_move(accountId, containerId, workspaceId, folderId, tags = tags)

triggers = c(1,2,3)
tags = c(4,5,6)

gtm_folders_move(accountId, containerId, workspaceId, folderId, tags = tags)


## End(Not run)


[Package googleTagManageR version 0.2.0 Index]