gtm_workspaces_preview: Preview the compilation of a container version

View source: R/workspaces.R

gtm_workspaces_previewR Documentation

Preview the compilation of a container version

Description

Quick previews a workspace by creating a fake container version from all entities in the provided workspace. It returns a container object, and if there are any conflicts, sync errors or compiler errors in the workspace

Usage

gtm_workspaces_preview(account_id, container_id, workspace_id)

Arguments

account_id

Account Id

container_id

Container Id

workspace_id

Workspace Id

Value

Invisibly, the server response. If successful this is list with one element.

See Also

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

Other workspace functions: gtm_workspaces_create(), gtm_workspaces_delete(), gtm_workspaces_get(), gtm_workspaces_list(), gtm_workspaces_resolve(), gtm_workspaces_status(), gtm_workspaces_submit(), gtm_workspaces_sync(), gtm_workspaces_update()

Examples


## Not run: 
accountId <- 1234567
containerId <- 7654321
workspaceId <- 6

preview <- gtm_workspaces_preview(accountId, containerId, workspaceId)


## End(Not run)


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