Versions

โปรดดูรายการวิธีการสำหรับแหล่งข้อมูลนี้ที่ส่วนท้ายของหน้านี้

การรับรองทรัพยากร

แสดงเวอร์ชันคอนเทนเนอร์ Google Tag Manager

{
  "path": string,
  "accountId": string,
  "containerId": string,
  "containerVersionId": string,
  "name": string,
  "deleted": boolean,
  "description": string,
  "container": accounts.containers Resource,
  "tag": [
    accounts.containers.workspaces.tags Resource
  ],
  "trigger": [
    accounts.containers.workspaces.triggers Resource
  ],
  "variable": [
    accounts.containers.workspaces.variables Resource
  ],
  "folder": [
    accounts.containers.workspaces.folders Resource
  ],
  "builtInVariable": [
    {
      "path": string,
      "accountId": string,
      "containerId": string,
      "workspaceId": string,
      "type": string,
      "name": string
    }
  ],
  "fingerprint": string,
  "tagManagerUrl": string,
  "zone": [
    accounts.containers.workspaces.zones Resource
  ],
  "customTemplate": [
    accounts.containers.workspaces.templates Resource
  ],
  "client": [
    accounts.containers.workspaces.clients Resource
  ],
  "gtagConfig": [
    accounts.containers.workspaces.gtag_config Resource
  ],
  "transformation": [
    accounts.containers.workspaces.transformations Resource
  ]
}
ชื่อพร็อพเพอร์ตี้ ค่า คำอธิบาย Notes
accountId string รหัสบัญชี GTM
builtInVariable[] list ตัวแปรบิวท์อินในคอนเทนเนอร์ที่มาในเวอร์ชันนี้
builtInVariable[].accountId string รหัสบัญชี GTM
builtInVariable[].containerId string รหัสคอนเทนเนอร์ GTM
builtInVariable[].name string ชื่อของตัวแปรบิวท์อินที่จะใช้อ้างอิงถึงตัวแปรบิวท์อิน
builtInVariable[].path string เส้นทางสัมพัทธ์ API ของ GTM BuiltInVariable
builtInVariable[].type string ประเภทของตัวแปรบิวท์อิน

ค่าที่ยอมรับมีดังนี้
  • "advertiserId"
  • "advertisingTrackingEnabled"
  • "ampBrowserLanguage"
  • "ampCanonicalHost"
  • "ampCanonicalPath"
  • "ampCanonicalUrl"
  • "ampClientId"
  • "ampClientMaxScrollX"
  • "ampClientMaxScrollY"
  • "ampClientScreenHeight"
  • "ampClientScreenWidth"
  • "ampClientScrollX"
  • "ampClientScrollY"
  • "ampClientTimestamp"
  • "ampClientTimezone"
  • "ampGtmEvent"
  • "ampPageDownloadTime"
  • "ampPageLoadTime"
  • "ampPageViewId"
  • "ampReferrer"
  • "ampTitle"
  • "ampTotalEngagedTime"
  • "appId"
  • "appName"
  • "appVersionCode"
  • "appVersionName"
  • "builtInVariableTypeUnspecified"
  • "clickClasses"
  • "clickElement"
  • "clickId"
  • "clickTarget"
  • "clickText"
  • "clickUrl"
  • "clientName"
  • "containerId"
  • "containerVersion"
  • "debugMode"
  • "deviceName"
  • "elementVisibilityFirstTime"
  • "elementVisibilityRatio"
  • "elementVisibilityRecentTime"
  • "elementVisibilityTime"
  • "environmentName"
  • "errorLine"
  • "errorMessage"
  • "errorUrl"
  • "event"
  • "eventName"
  • "firebaseEventParameterCampaign"
  • "firebaseEventParameterCampaignAclid"
  • "firebaseEventParameterCampaignAnid"
  • "firebaseEventParameterCampaignClickTimestamp"
  • "firebaseEventParameterCampaignContent"
  • "firebaseEventParameterCampaignCp1"
  • "firebaseEventParameterCampaignGclid"
  • "firebaseEventParameterCampaignSource"
  • "firebaseEventParameterCampaignTerm"
  • "firebaseEventParameterCurrency"
  • "firebaseEventParameterDynamicLinkAcceptTime"
  • "firebaseEventParameterDynamicLinkLinkid"
  • "firebaseEventParameterNotificationMessageDeviceTime"
  • "firebaseEventParameterNotificationMessageId"
  • "firebaseEventParameterNotificationMessageName"
  • "firebaseEventParameterNotificationMessageTime"
  • "firebaseEventParameterNotificationTopic"
  • "firebaseEventParameterPreviousAppVersion"
  • "firebaseEventParameterPreviousOsVersion"
  • "firebaseEventParameterPrice"
  • "firebaseEventParameterProductId"
  • "firebaseEventParameterQuantity"
  • "firebaseEventParameterValue"
  • "firstPartyServingUrl"
  • "formClasses"
  • "formElement"
  • "formId"
  • "formTarget"
  • "formText"
  • "formUrl"
  • "historySource"
  • "htmlId"
  • "language"
  • "newHistoryFragment"
  • "newHistoryState"
  • "newHistoryUrl"
  • "oldHistoryFragment"
  • "oldHistoryState"
  • "oldHistoryUrl"
  • "osVersion"
  • "pageHostname"
  • "pagePath"
  • "pageUrl"
  • "platform"
  • "queryString"
  • "randomNumber"
  • "referrer"
  • "requestMethod"
  • "requestPath"
  • "resolution"
  • "scrollDepthDirection"
  • "scrollDepthThreshold"
  • "scrollDepthUnits"
  • "sdkVersion"
  • "serverPageLocationHostname"
  • "serverPageLocationPath"
  • "serverPageLocationUrl"
  • "videoCurrentTime"
  • "videoDuration"
  • "videoPercent"
  • "videoProvider"
  • "videoStatus"
  • "videoTitle"
  • "videoUrl"
  • "videoVisible"
  • "visitorRegion"
builtInVariable[].workspaceId string รหัสพื้นที่ทำงาน GTM
client[] list ไคลเอ็นต์ในคอนเทนเนอร์ที่ใช้เวอร์ชันนี้
container nested object คอนเทนเนอร์ที่นําเวอร์ชันนี้มา
containerId string รหัสคอนเทนเนอร์ GTM
containerVersionId string รหัสเวอร์ชันคอนเทนเนอร์จะระบุเวอร์ชันคอนเทนเนอร์ GTM ได้โดยไม่ซ้ำกัน
customTemplate[] list เทมเพลตที่กำหนดเองในคอนเทนเนอร์ที่นําเวอร์ชันนี้มา
deleted boolean ค่า true บ่งบอกว่าคอนเทนเนอร์เวอร์ชันนี้ถูกลบไปแล้ว
description string คำอธิบายเวอร์ชันคอนเทนเนอร์ เขียนได้
fingerprint string ลายนิ้วมือของเวอร์ชันคอนเทนเนอร์ GTM ที่คำนวณในเวลาจัดเก็บข้อมูล ค่านี้จะถูกคำนวณใหม่ทุกครั้งที่มีการแก้ไขเวอร์ชันคอนเทนเนอร์
folder[] list โฟลเดอร์ในคอนเทนเนอร์ที่เรียกเวอร์ชันนี้มา
gtagConfig[] list การกําหนดค่าแท็ก Google ในคอนเทนเนอร์ที่นําเวอร์ชันนี้มา
name string ชื่อที่แสดงของเวอร์ชันคอนเทนเนอร์ เขียนได้
path string เส้นทางสัมพัทธ์ API ของเวอร์ชันคอนเทนเนอร์ GTM
tagManagerUrl string ลิงก์ที่สร้างขึ้นโดยอัตโนมัติไปยัง UI ของ Tag Manager
tag[] list แท็กในคอนเทนเนอร์ที่นําเวอร์ชันนี้มา
transformation[] list การเปลี่ยนรูปแบบในคอนเทนเนอร์ที่นําเวอร์ชันนี้มา
trigger[] list ทริกเกอร์ในคอนเทนเนอร์ที่นําเวอร์ชันนี้มา
variable[] list ตัวแปรในคอนเทนเนอร์ที่นําเวอร์ชันนี้มา
zone[] list โซนในคอนเทนเนอร์ที่เป็นต้นทางของเวอร์ชันนี้

วิธีการ

ลบ
ลบเวอร์ชันคอนเทนเนอร์
รับ
รับเวอร์ชันคอนเทนเนอร์
เผยแพร่
รับเวอร์ชันคอนเทนเนอร์ที่ใช้งานอยู่ (เช่น นำไปใช้จริง)
publish
เผยแพร่เวอร์ชันคอนเทนเนอร์
set_latest
ตั้งค่าเวอร์ชันล่าสุดที่ใช้สำหรับการซิงค์พื้นที่ทำงานเมื่อตรวจหาความขัดแย้งและข้อผิดพลาด
undelete
ยกเลิกการลบเวอร์ชันคอนเทนเนอร์
อัปเดต
อัปเดตเวอร์ชันของคอนเทนเนอร์