Versions

רשימה של ה-methods במשאב הזה מופיעה בסוף הדף.

ייצוגי משאבים

מייצג גרסת מאגר תגים של 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
  ]
}
שם הנכס ערך תיאור הערות
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 של Workspace.
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 Tag במאגר התגים שממנו בוצעה הגרסה הזו.
name string השם המוצג של גרסת הקונטיינר. ניתן לכתיבה
path string הנתיב היחסי של ה-API של גרסת מאגר התגים של GTM.
tagManagerUrl string קישור שנוצר באופן אוטומטי לממשק המשתמש של Tag Manager
tag[] list התגים במאגר שממנו לקחה הגרסה הזו.
transformation[] list הטרנספורמציות בקונטיינר שממנו הגיעה הגרסה הזו.
trigger[] list הטריגרים במאגר שממנו לקחה הגרסה הזו.
variable[] list המשתנים במאגר שממנו הגיעה הגרסה הזו.
zone[] list האזורים במאגר שממנו בוצעה הגרסה הזו.

שיטות

מחיקה
מוחק גרסת קונטיינר.
הורדה
מקבלים גרסה של קונטיינר.
בשידור חי
מקבלת את גרסת המאגר הפעילה (כלומר פורסמה)
לפרסם
מפרסם גרסת קונטיינר.
set_latest
הגדרת הגרסה האחרונה שתשמש לסנכרון סביבות עבודה כאשר לזיהוי סכסוכים ושגיאות.
ביטול מחיקה
מבטל את המחיקה של גרסת קונטיינר.
עדכון
מעדכן גרסת קונטיינר.