class TagManager extends Service (View source)

Service definition for TagManager (v2).

This API allows clients to access and modify container and tag configuration.

For more information about this service, see the API Documentation

Constants

TAGMANAGER_DELETE_CONTAINERS

Delete your Google Tag Manager containers.

TAGMANAGER_EDIT_CONTAINERS

Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing.

TAGMANAGER_EDIT_CONTAINERVERSIONS

Manage your Google Tag Manager container versions.

TAGMANAGER_MANAGE_ACCOUNTS

View and manage your Google Tag Manager accounts.

TAGMANAGER_MANAGE_USERS

Manage user permissions of your Google Tag Manager account and container.

TAGMANAGER_PUBLISH

Publish your Google Tag Manager container versions.

TAGMANAGER_READONLY

View your Google Tag Manager container and its subcomponents.

Properties

$accounts
$accounts_containers
$accounts_containers_destinations
$accounts_containers_environments
$accounts_containers_version_headers
$accounts_containers_versions
$accounts_containers_workspaces
$accounts_containers_workspaces_built_in_variables
$accounts_containers_workspaces_clients
$accounts_containers_workspaces_folders
$accounts_containers_workspaces_gtag_config
$accounts_containers_workspaces_tags
$accounts_containers_workspaces_templates
$accounts_containers_workspaces_transformations
$accounts_containers_workspaces_triggers
$accounts_containers_workspaces_variables
$accounts_containers_workspaces_zones
$accounts_user_permissions
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the TagManager service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the TagManager service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.