Account Summaries

如需本資源的方法清單,請見本頁結尾。

資源表示法

Analytics (分析) AccountSummary 的 JSON 範本。AccountSummary 是一個輕量型樹狀結構,由資源/設定檔組成。

{
  "id": string,
  "kind": "analytics#accountSummary",
  "name": string,
  "starred": boolean,
  "webProperties": [
    {
      "kind": "analytics#webPropertySummary",
      "id": string,
      "name": string,
      "internalWebPropertyId": string,
      "level": string,
      "websiteUrl": string,
      "starred": boolean,
      "profiles": [
        {
          "kind": "analytics#profileSummary",
          "id": string,
          "name": string,
          "type": string,
          "starred": boolean
        }
      ]
    }
  ]
}
資源名稱 說明 附註
id string 帳戶 ID。
kind string Analytics (分析) AccountSummary 的資源類型。
name string 帳戶名稱。
starred boolean 指出這個帳戶是否已加星號。
webProperties[] list 此帳戶下的網站資源清單。
webProperties[].id string 格式為 UA-XXXXX-YY 的網站資源 ID。
webProperties[].internalWebPropertyId string 此網站資源的內部 ID。
webProperties[].kind string Analytics (分析) WebPropertySummary 的資源類型。
webProperties[].level string 此網站資源的層級。可能的值為 STANDARD 或 PREMIUM。
webProperties[].name string 網站資源名稱。
webProperties[].profiles[] list 此網站資源下的設定檔清單。
webProperties[].profiles[].id string 資料檢視 (設定檔) ID。
webProperties[].profiles[].kind string Analytics (分析) ProfileSummary 的資源類型。
webProperties[].profiles[].name string 資料檢視 (個人資料) 名稱。
webProperties[].profiles[].starred boolean 指出這個檢視畫面 (個人資料) 是否已加上星號。
webProperties[].profiles[].type string 資料檢視 (設定檔) 類型。支援的類型:WEB 或 APP。
webProperties[].starred boolean 指出此網站資源是否已加星號。
webProperties[].websiteUrl string 這個網站資源的網站網址。

方法

list
列出使用者有權存取的帳戶摘要 (由帳戶/資源/個人資料組成的輕量型樹狀結構)。