Method: containers.snippet

Full name: accounts.containers.snippet

Gets the tagging snippet for a Container.

HTTP request

GET https://tagmanager.googleapis.com/tagmanager/v2/{path}:snippet

Path parameters

Parameters
path

string

Container snippet's API relative path. It takes the form accounts/{account}/containers/{container}.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{

  // Union field type can be only one of the following:
  "snippet": string,
  "containerConfig": string
  // End of list of possible types for union field type.
}
Fields

Union field type.

type can be only one of the following:

snippet

string

Tagging snippet for a Container.

containerConfig

string

Server container config param for manually provisioning a tagging server.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/tagmanager.edit.containers
  • https://www.googleapis.com/auth/tagmanager.readonly

For more information, see the OAuth 2.0 Overview.