REST Resource: accounts.containers.versions

リソース: ContainerVersion

Google タグ マネージャーのコンテナのバージョンを表します。

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

GTM コンテナ バージョンの API 相対パス。

accountId

string

GTM アカウント ID。

containerId

string

GTM コンテナ ID。

containerVersionId

string

GTM コンテナ バージョンを一意に識別するコンテナ バージョン ID。

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

タグ マネージャーの管理画面への自動生成リンク。

zone[]

object (Zone)

このバージョンの取得元コンテナのゾーン。

customTemplate[]

object (CustomTemplate)

このバージョンの取得元コンテナのカスタム テンプレート。

client[]

object (Client)

このバージョンの取得元コンテナのクライアント。

gtagConfig[]

object (GtagConfig)

このバージョンの取得元コンテナの Google タグ設定。

transformation[]

object (Transformation)

このバージョンの取得元コンテナの変換。

BuiltInVariable

組み込み変数とは、あらかじめ作成されており、カスタマイズできない特殊なタイプの変数です。これらは、gtm データレイヤーのプロパティへのアクセス、クリックのモニタリング、ページ URL の要素へのアクセスなどの一般的な機能を提供します。

JSON 表現
{
  "path": string,
  "accountId": string,
  "containerId": string,
  "workspaceId": string,
  "type": enum (BuiltInVariableType),
  "name": string
}
フィールド
path

string

GTM BuiltInVariable の API 相対パス。

accountId

string

GTM アカウント ID。

containerId

string

GTM コンテナ ID。

workspaceId

string

GTM ワークスペース ID。

type

enum (BuiltInVariableType)

組み込み変数のタイプ

name

string

組み込み変数の参照に使用する組み込み変数の名前。

BuiltInVariableType

BuiltInVariableType は、container_tag.BuiltInType.BuiltInMacroType とバイナリ互換性がある必要があります。

列挙型
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

メソッド

delete

コンテナのバージョンを削除します。

get

コンテナのバージョンを取得します。

live

ライブ(公開中の)コンテナのバージョンを取得します。

publish

コンテナのバージョンを公開します。

set_latest

競合やエラーを検出する際にワークスペースの同期に使用される最新バージョンを設定します。

undelete

コンテナのバージョンの削除を取り消します。

update

コンテナのバージョンを更新します。