REST Resource: accounts.containers

משאב: מאגר

מייצג מאגר תגים של Google Tag Manager.

ייצוג ב-JSON
{
  "accountId": string,
  "containerId": string,
  "name": string,
  "domainName": [
    string
  ],
  "publicId": string,
  "timeZoneCountryId": string,
  "timeZoneId": string,
  "notes": string,
  "usageContext": [
    enum (UsageContext)
  ],
  "enabledBuiltInVariable": [
    enum (BuiltInVariableType)
  ],
  "fingerprint": string
}
שדות
accountId

string

מזהה חשבון GTM.

containerId

string

מזהה המאגר מזהה באופן ייחודי את מאגר התגים של GTM.

name

string

השם המוצג של הקונטיינר.

domainName[]

string

רשימה אופציונלית של שמות דומיינים המשויכים לקונטיינר.

publicId

string

המזהה הציבורי של הקונטיינר.

timeZoneCountryId

string

מזהה המדינה של הקונטיינר.

timeZoneId

string

מזהה אזור הזמן של המאגר.

notes

string

הערות בקונטיינר.

usageContext[]

enum (UsageContext)

רשימה של הקשרי השימוש של הקונטיינר. הערכים החוקיים כוללים:

web, android, ios

.

enabledBuiltInVariable[]

enum (BuiltInVariableType)

רשימת משתנים מובנים מופעלים. הערכים החוקיים כוללים:

pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId

.

fingerprint

string

טביעת האצבע של מאגר התגים של GTM כפי שחושב בזמן האחסון. הערך הזה מחושב מחדש בכל פעם שמתבצע שינוי בחשבון.

UsageContext

טיפוסים בני מנייה (enum)
web
android
ios
androidSdk5
iosSdk5
amp

BuiltInVariableType

מספר המאפיין של כל משתנה מובנה הבא חייב להיות זהה למספר המאפיין המקביל ב-BuiltInType.‏ BuiltInMacroType. התג הבא: 124

טיפוסים בני מנייה (enum)
pageUrl
pageHostname
pagePath
referrer
event לאינטרנט או לנייד.
clickElement
clickClasses
clickId
clickTarget
clickUrl
clickText
firstPartyServingUrl
formElement
formClasses
formId
formTarget
formUrl
formText
environmentName
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
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

Methods

create

יצירת קונטיינר.

delete

מחיקת קונטיינר.

get

אחזור של קונטיינר.

list

הצגת רשימה של כל המאגרים ששייכים לחשבון GTM.

update

עדכון קונטיינר.