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
analyticsClientId
analyticsSessionId
analyticsSessionNumber

Methods

delete

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

get

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

live

מקבלים את הנתונים בזמן אמת (כלומר,

publish

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

set_latest

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

undelete

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

update

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