Tag Manager API . accounts . containers . destinations

Instance Methods

close()

Close httplib2 connections.

get(path, x__xgafv=None)

Gets a Destination.

link(parent, allowUserPermissionFeatureUpdate=None, destinationId=None, x__xgafv=None)

Adds a Destination to this Container and removes it from the Container to which it is currently linked.

list(parent, x__xgafv=None)

Lists all Destinations linked to a GTM Container.

Method Details

close()
Close httplib2 connections.
get(path, x__xgafv=None)
Gets a Destination.

Args:
  path: string, Google Tag Destination's API relative path. Example: accounts/{account_id}/containers/{container_id}/destinations/{destination_link_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 Destination.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "destinationId": "A String", # Destination ID.
  "destinationLinkId": "A String", # The Destination link ID uniquely identifies the Destination.
  "fingerprint": "A String", # The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.
  "name": "A String", # Destination display name.
  "path": "A String", # Destination's API relative path.
  "tagManagerUrl": "A String", # Auto generated link to the tag manager UI.
}
link(parent, allowUserPermissionFeatureUpdate=None, destinationId=None, x__xgafv=None)
Adds a Destination to this Container and removes it from the Container to which it is currently linked.

Args:
  parent: string, GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{container_id} (required)
  allowUserPermissionFeatureUpdate: boolean, Must be set to true to allow features.user_permissions to change from false to true. If this operation causes an update but this bit is false, the operation will fail.
  destinationId: string, Destination ID to be linked to the current container.
  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 Destination.
  "accountId": "A String", # GTM Account ID.
  "containerId": "A String", # GTM Container ID.
  "destinationId": "A String", # Destination ID.
  "destinationLinkId": "A String", # The Destination link ID uniquely identifies the Destination.
  "fingerprint": "A String", # The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.
  "name": "A String", # Destination display name.
  "path": "A String", # Destination's API relative path.
  "tagManagerUrl": "A String", # Auto generated link to the tag manager UI.
}
list(parent, x__xgafv=None)
Lists all Destinations linked to a GTM Container.

Args:
  parent: string, GTM parent Container's API relative path. Example: accounts/{account_id}/containers/{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:

    {
  "destination": [ # All Destinations linked to a GTM Container.
    { # Represents a Google Tag Destination.
      "accountId": "A String", # GTM Account ID.
      "containerId": "A String", # GTM Container ID.
      "destinationId": "A String", # Destination ID.
      "destinationLinkId": "A String", # The Destination link ID uniquely identifies the Destination.
      "fingerprint": "A String", # The fingerprint of the Google Tag Destination as computed at storage time. This value is recomputed whenever the destination is modified.
      "name": "A String", # Destination display name.
      "path": "A String", # Destination's API relative path.
      "tagManagerUrl": "A String", # Auto generated link to the tag manager UI.
    },
  ],
  "nextPageToken": "A String", # Continuation token for fetching the next page of results.
}