GTM Folders

folder.py

class gtm_manager.folder.GTMFolder(folder=None, path=None, parent=None, **kwargs)[source]

Open a specific GTM Folder.

Parameters
  • folder (dict) – An API representation of the GTM Folder. If provided, the resource will be not be loaded from the API. folder or path argument must be set.

  • path (str) – The API path to the resource, i.e. “accounts/1234/containers/1234/workspaces/1234/folders/123”. If provided instead of folder, the representation will be loaded from the API. path or folder argument must be set.

  • parent (str) – Required, when the instance is initialized with a folder argument to explizitly set the parent path, i.e. “accounts/1234/containers/1234/workspaces/1234”

  • **kwargs – Additional keyword args to initialize the base class.

property containerId

The container that this version was taken from.

Type

str

property notes

The container that this version was taken from.

Type

str

property workspaceId

The container that this version was taken from.

Type

str

property tagManagerUrl

The container that this version was taken from.

Type

str

property fingerprint

The container that this version was taken from.

Type

str

property folderId

The container that this version was taken from.

Type

str

property accountId

The container that this version was taken from.

Type

str

property name

The container that this version was taken from.

Type

str

property path

The container that this version was taken from.

Type

str

delete()[source]

Delete the current folder.