Method: containers.lookup

전체 이름: accounts.containers.lookup

대상 ID 또는 태그 ID로 컨테이너를 조회합니다.

HTTP 요청

GET https://tagmanager.googleapis.com/tagmanager/v2/accounts/containers:lookup

쿼리 매개변수

매개변수
destinationId

string

GTM 컨테이너에 연결된 연결 대상 ID(예: AW-123456789) destinationId 또는 tagId 중 하나만 설정해야 합니다.

tagId

string

GTM 컨테이너의 태그 ID입니다(예: GTM-123456789). destinationId 또는 tagId 중 하나만 설정해야 합니다.

요청 본문

요청 본문은 비어 있어야 합니다.

응답 본문

성공한 경우 응답 본문에 Container의 인스턴스가 포함됩니다.

승인 범위

다음 OAuth 범위 중 하나가 필요합니다.

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

자세한 내용은 OAuth 2.0 Overview를 참고하세요.