REST Resource: accounts.containers.versions

משאב: ContainerVersion

מייצג גרסה של מאגר ב-Google Tag Manager.

ייצוג ב-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

הנתיב היחסי של ה-API של גרסת מאגר התגים ב-GTM.

accountId

string

מזהה חשבון GTM.

containerId

string

מזהה מאגר התגים של GTM.

containerVersionId

string

מזהה גרסת מאגר התגים מזהה באופן ייחודי את גרסת מאגר התגים של 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

קישור שנוצר באופן אוטומטי לממשק המשתמש של Tag Manager

zone[]

object (Zone)

האזורים בקונטיינר שמהם נלקחה הגרסה הזו.

customTemplate[]

object (CustomTemplate)

התבניות בהתאמה אישית בקונטיינר שממנו נלקחה הגרסה הזו.

client[]

object (Client)

הלקוחות בקונטיינר שממנו נלקחה הגרסה הזו.

gtagConfig[]

object (GtagConfig)

הגדרות Google Tag במאגר התגים שממנו נלקחה הגרסה הזו.

transformation[]

object (Transformation)

הטרנספורמציות במאגר שממנו נלקחה הגרסה הזו.

BuiltInVariable

משתנים מובנים הם קטגוריה מיוחדת של משתנים שנוצרו מראש ולא ניתן להתאים אותם אישית. הם מספקים פונקציונליות נפוצה כמו גישה למאפיינים של שכבת הנתונים של GTM, מעקב אחר קליקים או גישה לרכיבים של כתובת ה-URL של דף.

ייצוג ב-JSON
{
  "path": string,
  "accountId": string,
  "containerId": string,
  "workspaceId": string,
  "type": enum (BuiltInVariableType),
  "name": string
}
שדות
path

string

הנתיב היחסי של ה-API של GTM BuiltInVariable.

accountId

string

מזהה החשבון ב-GTM.

containerId

string

מזהה מאגר התגים של GTM.

workspaceId

string

מזהה סביבת העבודה ב-GTM.

type

enum (BuiltInVariableType)

סוג המשתנה המובנה.

name

string

השם של המשתנה המובנה שמשמש להפניה למשתנה המובנה.

BuiltInVariableType

שימו לב ש-BuiltInVariableType חייב להיות תואם בינארי ל-container_tag.BuiltInType.BuiltInMacroType.

טיפוסים בני מנייה (enum)
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

Methods

delete

מחיקה של גרסה של מאגר תגים.

get

אחזור של גרסה של מאגר תגים.

live

מקבל את המידע העדכני (כלומר

publish

פרסום גרסה של מאגר תגים.

set_latest

הגדרת הגרסה האחרונה שתשמש לסנכרון של סביבות העבודה כשיתגלו התנגשויות ושגיאות.

undelete

ביטול המחיקה של גרסה של מאגר תגים.

update

עדכון של גרסה של מאגר תגים.