이 API를 사용하면 클라이언트가 컨테이너 및 태그 구성에 액세스하고 이를 수정할 수 있습니다.
- REST 리소스: v2.accounts
- REST 리소스: v2.accounts.containers
- REST 리소스: v2.accounts.containers.destinations
- REST 리소스: v2.accounts.containers.environments
- REST 리소스: v2.accounts.containers.version_headers
- REST 리소스: v2.accounts.containers.versions
- REST 리소스: v2.accounts.containers.workspaces
- REST 리소스: v2.accounts.containers.workspaces.built_in_variables
- REST 리소스: v2.accounts.containers.workspaces.clients
- REST 리소스: v2.accounts.containers.workspaces.folders
- REST 리소스: v2.accounts.containers.workspaces.gtag_config
- REST 리소스: v2.accounts.containers.workspaces.tags
- REST 리소스: v2.accounts.containers.workspaces.templates
- REST 리소스: v2.accounts.containers.workspaces.transformations
- REST 리소스: v2.accounts.containers.workspaces.triggers
- REST 리소스: v2.accounts.containers.workspaces.variables
- REST 리소스: v2.accounts.containers.workspaces.zones
- REST 리소스: v2.accounts.user_permissions
- REST 리소스: v1.accounts
- REST 리소스: v1.accounts.containers
- REST 리소스: v1.accounts.containers.environments
- REST 리소스: v1.accounts.containers.folders
- REST 리소스: v1.accounts.containers.folders.entities
- REST 리소스: v1.accounts.containers.move_folders
- REST 리소스: v1.accounts.containers.reauthorize_environments
- REST 리소스: v1.accounts.containers.tags
- REST 리소스: v1.accounts.containers.triggers
- REST 리소스: v1.accounts.containers.variables
- REST 리소스: v1.accounts.containers.versions
- REST 리소스: v1.accounts.permissions
서비스: tagmanager.googleapis.com
이 서비스를 호출하려면 Google에서 제공하는 클라이언트 라이브러리를 사용하는 것이 좋습니다. 애플리케이션에서 자체 라이브러리를 사용하여 이 서비스를 호출해야 한다면 API 요청을 실행할 때 다음 정보를 사용해야 합니다.
검색 문서
검색 문서는 머신에서 읽을 수 있는 사양이며 REST API를 설명하고 사용하는 데 참조할 수 있습니다. 또한 클라이언트 라이브러리, IDE 플러그인, 기타 Google API와 상호작용하는 도구를 빌드하는 데 사용됩니다. 하나의 서비스는 여러 개의 검색 문서를 제공할 수 있습니다. 이 서비스는 다음 검색 문서를 제공합니다.
서비스 엔드포인트
서비스 엔드포인트는 API 서비스의 네트워크 주소를 지정하는 기준 URL입니다. 하나의 서비스는 여러 서비스 엔드포인트를 포함할 수 있습니다. 이 서비스에는 다음 서비스 엔드포인트가 포함되고, 그 아래의 모든 URI가 이 서비스 엔드포인트와 관련됩니다.
https://tagmanager.googleapis.com
REST 리소스: v2.accounts
메서드 | |
---|---|
get |
GET /tagmanager/v2/{path} GTM 계정을 가져옵니다. |
list |
GET /tagmanager/v2/accounts 사용자가 액세스할 수 있는 모든 GTM 계정을 나열합니다. |
update |
PUT /tagmanager/v2/{path} GTM 계정을 업데이트합니다. |
REST 리소스: v2.accounts.containers
메서드 | |
---|---|
combine |
POST /tagmanager/v2/{path}:combine 컨테이너를 결합합니다. |
create |
POST /tagmanager/v2/{parent}/containers 컨테이너를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} 컨테이너를 삭제합니다. |
get |
GET /tagmanager/v2/{path} 컨테이너를 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/containers GTM 계정에 속한 모든 컨테이너를 나열합니다. |
lookup |
GET /tagmanager/v2/accounts/containers:lookup 도착 페이지 ID 또는 태그 ID로 컨테이너를 조회합니다. |
move_tag_id |
POST /tagmanager/v2/{path}:move_tag_id 태그 ID를 컨테이너 외부로 이동합니다. |
snippet |
GET /tagmanager/v2/{path}:snippet 컨테이너의 태그 지정 스니펫을 가져옵니다. |
update |
PUT /tagmanager/v2/{path} 컨테이너를 업데이트합니다. |
REST 리소스: v2.accounts.containers.destinations
메서드 | |
---|---|
get |
GET /tagmanager/v2/{path} 대상을 가져옵니다. |
link |
POST /tagmanager/v2/{parent}/destinations:link 이 컨테이너에 대상을 추가하고 현재 연결된 컨테이너에서 대상을 삭제합니다. |
list |
GET /tagmanager/v2/{parent}/destinations GTM 컨테이너에 연결된 모든 도착 페이지를 나열합니다. |
REST 리소스: v2.accounts.containers.environments
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/environments GTM 환경을 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 환경을 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 환경을 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/environments GTM 컨테이너의 모든 GTM 환경을 나열합니다. |
reauthorize |
POST /tagmanager/v2/{path}:reauthorize GTM 환경의 승인 코드를 다시 생성합니다. |
update |
PUT /tagmanager/v2/{path} GTM 환경을 업데이트합니다. |
REST 리소스: v2.accounts.containers.version_headers
메서드 | |
---|---|
latest |
GET /tagmanager/v2/{parent}/version_headers:latest 최신 컨테이너 버전 헤더를 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/version_headers GTM 컨테이너의 모든 컨테이너 버전을 나열합니다. |
REST 리소스: v2.accounts.containers.versions
메서드 | |
---|---|
delete |
DELETE /tagmanager/v2/{path} 컨테이너 버전을 삭제합니다. |
get |
GET /tagmanager/v2/{path} 컨테이너 버전을 가져옵니다. |
live |
GET /tagmanager/v2/{parent}/versions:live 실시간 (즉, |
publish |
POST /tagmanager/v2/{path}:publish 컨테이너 버전을 게시합니다. |
set_latest |
POST /tagmanager/v2/{path}:set_latest 충돌 및 오류를 감지할 때 작업공간 동기화에 사용되는 최신 버전을 설정합니다. |
undelete |
POST /tagmanager/v2/{path}:undelete 컨테이너 버전 삭제를 실행취소합니다. |
update |
PUT /tagmanager/v2/{path} 컨테이너 버전을 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/workspaces 작업공간을 만듭니다. |
create_version |
POST /tagmanager/v2/{path}:create_version 작업공간에 있는 항목에서 컨테이너 버전을 만들고, 작업공간을 삭제하고, 기본 컨테이너 버전을 새로 만든 버전으로 설정합니다. |
delete |
DELETE /tagmanager/v2/{path} 작업공간을 삭제합니다. |
get |
GET /tagmanager/v2/{path} 작업공간을 가져옵니다. |
getStatus |
GET /tagmanager/v2/{path}/status 워크스페이스에서 충돌하는 개체와 수정된 개체를 찾습니다. |
list |
GET /tagmanager/v2/{parent}/workspaces GTM 컨테이너에 속한 모든 워크스페이스를 나열합니다. |
quick_preview |
POST /tagmanager/v2/{path}:quick_preview 제공된 작업공간의 모든 항목에서 가짜 컨테이너 버전을 만들어 작업공간을 빠르게 미리 봅니다. |
resolve_conflict |
POST /tagmanager/v2/{path}:resolve_conflict 작업공간 항목을 요청에 전달된 해결된 항목으로 업데이트하여 작업공간 항목의 병합 충돌을 해결합니다. |
sync |
POST /tagmanager/v2/{path}:sync 수정되지 않은 모든 작업공간 항목을 업데이트하고 수정된 항목의 충돌을 표시하여 작업공간을 최신 컨테이너 버전으로 동기화합니다. |
update |
PUT /tagmanager/v2/{path} 작업공간을 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.built_in_variables
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/built_in_variables 하나 이상의 GTM 기본 제공 변수를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} 하나 이상의 GTM 기본 제공 변수를 삭제합니다. |
list |
GET /tagmanager/v2/{parent}/built_in_variables GTM 컨테이너에서 사용 설정된 모든 기본 제공 변수를 나열합니다. |
revert |
POST /tagmanager/v2/{path}/built_in_variables:revert GTM 워크스페이스에서 GTM 기본 제공 변수의 변경사항을 되돌립니다. |
REST 리소스: v2.accounts.containers.workspaces.clients
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/clients GTM 클라이언트를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 클라이언트를 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 클라이언트를 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/clients GTM 컨테이너 워크스페이스의 모든 GTM 클라이언트를 나열합니다. |
revert |
POST /tagmanager/v2/{path}:revert GTM Workspace의 GTM 고객 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 클라이언트를 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.folders
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/folders GTM 폴더를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 폴더를 삭제합니다. |
entities |
POST /tagmanager/v2/{path}:entities GTM 폴더의 모든 항목을 나열합니다. |
get |
GET /tagmanager/v2/{path} GTM 폴더를 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/folders 컨테이너의 모든 GTM 폴더를 나열합니다. |
move_entities_to_folder |
POST /tagmanager/v2/{path}:move_entities_to_folder 항목을 GTM 폴더로 이동합니다. |
revert |
POST /tagmanager/v2/{path}:revert 'Google Ads 워크스페이스'의 'Google Ads 폴더'에 대한 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 폴더를 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.gtag_config
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/gtag_config Google 태그 구성을 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} Google 태그 구성을 삭제합니다. |
get |
GET /tagmanager/v2/{path} Google 태그 구성을 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/gtag_config 컨테이너의 모든 Google 태그 구성을 나열합니다. |
update |
PUT /tagmanager/v2/{path} Google 태그 구성을 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.templates
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/templates GTM 맞춤 템플릿을 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 템플릿을 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 템플릿을 가져옵니다. |
import_from_gallery |
POST /tagmanager/v2/{parent}/templates:import_from_gallery 갤러리에서 GTM 맞춤 템플릿을 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/templates GTM 컨테이너 워크스페이스의 모든 GTM 템플릿을 나열합니다. |
revert |
POST /tagmanager/v2/{path}:revert GTM Workspace의 GTM 템플릿 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 템플릿을 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.transformations
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/transformations GTM 변환을 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 변환을 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 변환을 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/transformations GTM 컨테이너 워크스페이스의 모든 GTM 변환을 나열합니다. |
revert |
POST /tagmanager/v2/{path}:revert GTM 워크스페이스에서 GTM 변환의 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 변환을 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.triggers
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/triggers GTM 트리거를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 트리거를 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 트리거를 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/triggers 컨테이너의 모든 GTM 트리거를 나열합니다. |
revert |
POST /tagmanager/v2/{path}:revert GTM 워크스페이스에서 GTM 트리거의 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 트리거를 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.variables
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/variables GTM 변수를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 변수를 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 변수를 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/variables 컨테이너의 모든 GTM 변수를 나열합니다. |
revert |
POST /tagmanager/v2/{path}:revert GTM 워크스페이스에서 GTM 변수의 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 변수를 업데이트합니다. |
REST 리소스: v2.accounts.containers.workspaces.zones
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/zones GTM 영역을 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} GTM 영역을 삭제합니다. |
get |
GET /tagmanager/v2/{path} GTM 영역을 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/zones GTM 컨테이너 워크스페이스의 모든 GTM 영역을 나열합니다. |
revert |
POST /tagmanager/v2/{path}:revert 'GTM Workspace'의 GTM 영역에 대한 변경사항을 되돌립니다. |
update |
PUT /tagmanager/v2/{path} GTM 영역을 업데이트합니다. |
REST 리소스: v2.accounts.user_permissions
메서드 | |
---|---|
create |
POST /tagmanager/v2/{parent}/user_permissions 사용자의 계정 및 컨테이너 액세스를 만듭니다. |
delete |
DELETE /tagmanager/v2/{path} 계정에서 사용자를 삭제하여 계정 및 모든 컨테이너에 대한 액세스 권한을 취소합니다. |
get |
GET /tagmanager/v2/{path} 사용자의 계정 및 컨테이너 액세스 권한을 가져옵니다. |
list |
GET /tagmanager/v2/{parent}/user_permissions 계정에 대한 액세스 권한이 있는 모든 사용자와 각 사용자에게 부여된 계정 및 컨테이너 사용자 액세스 권한을 나열합니다. |
update |
PUT /tagmanager/v2/{path} 사용자의 계정 및 컨테이너 액세스 권한을 업데이트합니다. |
REST 리소스: v1.accounts
메서드 | |
---|---|
get |
GET /tagmanager/v1/accounts/{accountId} GTM 계정을 가져옵니다. |
list |
GET /tagmanager/v1/accounts 사용자가 액세스할 수 있는 모든 GTM 계정을 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId} GTM 계정을 업데이트합니다. |
REST 리소스: v1.accounts.containers
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/containers 컨테이너를 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/containers/{containerId} 컨테이너를 삭제합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId} 컨테이너를 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/containers GTM 계정에 속한 모든 컨테이너를 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId} 컨테이너를 업데이트합니다. |
REST 리소스: v1.accounts.containers.environments
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments GTM 환경을 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId} GTM 환경을 삭제합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId} GTM 환경을 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments GTM 컨테이너의 모든 GTM 환경을 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId} GTM 환경을 업데이트합니다. |
REST 리소스: v1.accounts.containers.folders
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders GTM 폴더를 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId} GTM 폴더를 삭제합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId} GTM 폴더를 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders 컨테이너의 모든 GTM 폴더를 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId} GTM 폴더를 업데이트합니다. |
REST 리소스: v1.accounts.containers.folders.entities
메서드 | |
---|---|
list |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities GTM 폴더의 모든 항목을 나열합니다. |
REST 리소스: v1.accounts.containers.move_folders
메서드 | |
---|---|
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId}/move_folders/{folderId} 항목을 GTM 폴더로 이동합니다. |
REST 리소스: v1.accounts.containers.triggers
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers GTM 트리거를 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId} GTM 트리거를 삭제합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId} GTM 트리거를 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers 컨테이너의 모든 GTM 트리거를 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId} GTM 트리거를 업데이트합니다. |
REST 리소스: v1.accounts.containers.variables
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables GTM 변수를 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId} GTM 변수를 삭제합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId} GTM 변수를 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables 컨테이너의 모든 GTM 변수를 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId} GTM 변수를 업데이트합니다. |
REST 리소스: v1.accounts.containers.versions
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions 컨테이너 버전을 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId} 컨테이너 버전을 삭제합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId} 컨테이너 버전을 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions GTM 컨테이너의 모든 컨테이너 버전을 나열합니다. |
publish |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish 컨테이너 버전을 게시합니다. |
restore |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore 컨테이너 버전을 복원합니다. |
undelete |
POST /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete 컨테이너 버전 삭제를 실행취소합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId} 컨테이너 버전을 업데이트합니다. |
REST 리소스: v1.accounts.permissions
메서드 | |
---|---|
create |
POST /tagmanager/v1/accounts/{accountId}/permissions 사용자의 계정 및 컨테이너 권한을 만듭니다. |
delete |
DELETE /tagmanager/v1/accounts/{accountId}/permissions/{permissionId} 계정에서 사용자를 삭제하여 계정 및 모든 컨테이너에 대한 액세스 권한을 취소합니다. |
get |
GET /tagmanager/v1/accounts/{accountId}/permissions/{permissionId} 사용자의 계정 및 컨테이너 권한을 가져옵니다. |
list |
GET /tagmanager/v1/accounts/{accountId}/permissions 계정에 대한 액세스 권한이 있는 모든 사용자와 각 사용자에게 부여된 계정 및 컨테이너 권한을 나열합니다. |
update |
PUT /tagmanager/v1/accounts/{accountId}/permissions/{permissionId} 사용자의 계정 및 컨테이너 권한을 업데이트합니다. |