Tag Manager API . accounts . containers . folders

Instance Methods

entities()

Returns the entities Resource.

close()

Close httplib2 connections.

create(accountId, containerId, body=None, x__xgafv=None)

Creates a GTM Folder.

delete(accountId, containerId, folderId, x__xgafv=None)

Deletes a GTM Folder.

get(accountId, containerId, folderId, x__xgafv=None)

Gets a GTM Folder.

list(accountId, containerId, x__xgafv=None)

Lists all GTM Folders of a Container.

update(accountId, containerId, folderId, body=None, fingerprint=None, x__xgafv=None)

Updates a GTM Folder.

Method Details

close()
Close httplib2 connections.
create(accountId, containerId, body=None, x__xgafv=None)
Creates a GTM Folder.

Args:
  accountId: string, The GTM Account ID. (required)
  containerId: string, The GTM Container ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Represents a Google Tag Manager Folder.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
  "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
  "name": "A String", # Folder display name. @mutable tagmanager.accounts.containers.folders.create @mutable tagmanager.accounts.containers.folders.update
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Google Tag Manager Folder.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
  "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
  "name": "A String", # Folder display name. @mutable tagmanager.accounts.containers.folders.create @mutable tagmanager.accounts.containers.folders.update
}
delete(accountId, containerId, folderId, x__xgafv=None)
Deletes a GTM Folder.

Args:
  accountId: string, The GTM Account ID. (required)
  containerId: string, The GTM Container ID. (required)
  folderId: string, The GTM Folder ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
get(accountId, containerId, folderId, x__xgafv=None)
Gets a GTM Folder.

Args:
  accountId: string, The GTM Account ID. (required)
  containerId: string, The GTM Container ID. (required)
  folderId: string, The GTM Folder ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Google Tag Manager Folder.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
  "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
  "name": "A String", # Folder display name. @mutable tagmanager.accounts.containers.folders.create @mutable tagmanager.accounts.containers.folders.update
}
list(accountId, containerId, x__xgafv=None)
Lists all GTM Folders of a Container.

Args:
  accountId: string, The GTM Account ID. (required)
  containerId: string, The GTM Container ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # List Folders Response.
  "folders": [ # All GTM Folders of a GTM Container.
    { # Represents a Google Tag Manager Folder.
      "accountId": "A String", # GTM Account ID.
      "containerId": "A String", # GTM Container ID.
      "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
      "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
      "name": "A String", # Folder display name. @mutable tagmanager.accounts.containers.folders.create @mutable tagmanager.accounts.containers.folders.update
    },
  ],
}
update(accountId, containerId, folderId, body=None, fingerprint=None, x__xgafv=None)
Updates a GTM Folder.

Args:
  accountId: string, The GTM Account ID. (required)
  containerId: string, The GTM Container ID. (required)
  folderId: string, The GTM Folder ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Represents a Google Tag Manager Folder.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
  "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
  "name": "A String", # Folder display name. @mutable tagmanager.accounts.containers.folders.create @mutable tagmanager.accounts.containers.folders.update
}

  fingerprint: string, When provided, this fingerprint must match the fingerprint of the folder in storage.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Represents a Google Tag Manager Folder.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
  "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
  "name": "A String", # Folder display name. @mutable tagmanager.accounts.containers.folders.create @mutable tagmanager.accounts.containers.folders.update
}