REST Resource: accounts.containers.versions

리소스: ContainerVersion

Google 태그 관리자 컨테이너 버전을 나타냅니다.

JSON 표현
{
  "path": string,
  "accountId": string,
  "containerId": string,
  "containerVersionId": string,
  "name": string,
  "deleted": boolean,
  "description": string,
  "container": {
    object (Container)
  },
  "tag": [
    {
      object (Tag)
    }
  ],
  "trigger": [
    {
      object (Trigger)
    }
  ],
  "variable": [
    {
      object (Variable)
    }
  ],
  "folder": [
    {
      object (Folder)
    }
  ],
  "builtInVariable": [
    {
      object (BuiltInVariable)
    }
  ],
  "fingerprint": string,
  "tagManagerUrl": string,
  "zone": [
    {
      object (Zone)
    }
  ],
  "customTemplate": [
    {
      object (CustomTemplate)
    }
  ],
  "client": [
    {
      object (Client)
    }
  ],
  "gtagConfig": [
    {
      object (GtagConfig)
    }
  ],
  "transformation": [
    {
      object (Transformation)
    }
  ]
}
필드
path

string

GTM 컨테이너 버전의 API 상대 경로입니다.

accountId

string

GTM 계정 ID

containerId

string

GTM 컨테이너 ID

containerVersionId

string

컨테이너 버전 ID는 GTM 컨테이너 버전을 고유하게 식별합니다.

name

string

컨테이너 버전 표시 이름입니다.

deleted

boolean

값이 true이면 이 컨테이너 버전이 삭제되었음을 나타냅니다.

description

string

컨테이너 버전 설명입니다.

container

object (Container)

이 버전이 가져온 컨테이너입니다.

tag[]

object (Tag)

이 버전이 가져온 컨테이너의 태그입니다.

trigger[]

object (Trigger)

이 버전이 가져온 컨테이너의 트리거입니다.

variable[]

object (Variable)

이 버전이 가져온 컨테이너의 변수입니다.

folder[]

object (Folder)

이 버전이 가져온 컨테이너의 폴더입니다.

builtInVariable[]

object (BuiltInVariable)

이 버전이 가져온 컨테이너의 기본 제공 변수입니다.

fingerprint

string

저장 시 계산된 GTM 컨테이너 버전의 지문입니다. 이 값은 컨테이너 버전이 수정될 때마다 다시 계산됩니다.

tagManagerUrl

string

태그 관리자 UI로 연결되는 자동 생성 링크

zone[]

object (Zone)

이 버전이 가져온 컨테이너의 영역입니다.

customTemplate[]

object (CustomTemplate)

이 버전이 가져온 컨테이너의 맞춤 템플릿입니다.

client[]

object (Client)

이 버전이 가져온 컨테이너의 클라이언트입니다.

gtagConfig[]

object (GtagConfig)

이 버전이 가져온 컨테이너의 Google 태그 구성입니다.

transformation[]

object (Transformation)

이 버전이 가져온 컨테이너의 변환입니다.

BuiltInVariable

기본 제공 변수란 사전에 생성되어 맞춤설정을 하지 않은 특수한 카테고리의 변수를 말합니다. gtm 데이터 영역의 속성에 액세스하거나, 클릭수를 모니터링하거나, 페이지 URL의 요소에 액세스하는 등의 일반적인 기능을 제공합니다.

JSON 표현
{
  "path": string,
  "accountId": string,
  "containerId": string,
  "workspaceId": string,
  "type": enum (BuiltInVariableType),
  "name": string
}
필드
path

string

GTM BuiltInVariable의 API 상대 경로입니다.

accountId

string

GTM 계정 ID

containerId

string

GTM 컨테이너 ID

workspaceId

string

GTM 워크스페이스 ID

type

enum (BuiltInVariableType)

기본 제공 변수의 유형입니다.

name

string

내장 변수를 참조하는 데 사용할 내장 변수의 이름입니다.

BuiltInVariableType

BuiltInVariableType은 container_tag.BuiltInType.BuiltInMacroType과 바이너리 호환되어야 합니다.

열거형
builtInVariableTypeUnspecified
pageUrl
pageHostname
pagePath
referrer
event 웹 또는 모바일용
clickElement
clickClasses
clickId
clickTarget
clickUrl
clickText
firstPartyServingUrl
formElement
formClasses
formId
formTarget
formUrl
formText
errorMessage
errorUrl
errorLine
newHistoryUrl
oldHistoryUrl
newHistoryFragment
oldHistoryFragment
newHistoryState
oldHistoryState
historySource
containerVersion 웹 또는 모바일용
debugMode
randomNumber 웹 또는 모바일용
containerId 웹 또는 모바일용
appId
appName
appVersionCode
appVersionName
language
osVersion
platform
sdkVersion
deviceName
resolution
advertiserId
advertisingTrackingEnabled
htmlId
environmentName
ampBrowserLanguage
ampCanonicalPath
ampCanonicalUrl
ampCanonicalHost
ampReferrer
ampTitle
ampClientId
ampClientTimezone
ampClientTimestamp
ampClientScreenWidth
ampClientScreenHeight
ampClientScrollX
ampClientScrollY
ampClientMaxScrollX
ampClientMaxScrollY
ampTotalEngagedTime
ampPageViewId
ampPageLoadTime
ampPageDownloadTime
ampGtmEvent
eventName
firebaseEventParameterCampaign
firebaseEventParameterCampaignAclid
firebaseEventParameterCampaignAnid
firebaseEventParameterCampaignClickTimestamp
firebaseEventParameterCampaignContent
firebaseEventParameterCampaignCp1
firebaseEventParameterCampaignGclid
firebaseEventParameterCampaignSource
firebaseEventParameterCampaignTerm
firebaseEventParameterCurrency
firebaseEventParameterDynamicLinkAcceptTime
firebaseEventParameterDynamicLinkLinkid
firebaseEventParameterNotificationMessageDeviceTime
firebaseEventParameterNotificationMessageId
firebaseEventParameterNotificationMessageName
firebaseEventParameterNotificationMessageTime
firebaseEventParameterNotificationTopic
firebaseEventParameterPreviousAppVersion
firebaseEventParameterPreviousOsVersion
firebaseEventParameterPrice
firebaseEventParameterProductId
firebaseEventParameterQuantity
firebaseEventParameterValue
videoProvider
videoUrl
videoTitle
videoDuration
videoPercent
videoVisible
videoStatus
videoCurrentTime
scrollDepthThreshold
scrollDepthUnits
scrollDepthDirection
elementVisibilityRatio
elementVisibilityTime
elementVisibilityFirstTime
elementVisibilityRecentTime
requestPath
requestMethod
clientName
queryString
serverPageLocationUrl
serverPageLocationPath
serverPageLocationHostname
visitorRegion

메서드

delete

컨테이너 버전을 삭제합니다.

get

컨테이너 버전을 가져옵니다.

live

실시간 (즉,

publish

컨테이너 버전을 게시합니다.

set_latest

충돌 및 오류를 감지할 때 작업공간 동기화에 사용되는 최신 버전을 설정합니다.

undelete

컨테이너 버전의 삭제를 실행취소합니다.

update

컨테이너 버전을 업데이트합니다.