Take our developer survey. We want your feedback so we can learn how to improve Google Analytics, and make it an even better tool for you.

Account Summaries

For a list of methods for this resource, see the end of this page.

Resource representations

JSON template for an Analytics AccountSummary. An AccountSummary is a lightweight tree comprised of properties/profiles.

{
  "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
        }
      ]
    }
  ]
}
Property name Value Description Notes
id string Account ID.
kind string Resource type for Analytics AccountSummary.
name string Account name.
starred boolean Indicates whether this account is starred or not.
webProperties[] list List of web properties under this account.
webProperties[].id string Web property ID of the form UA-XXXXX-YY.
webProperties[].internalWebPropertyId string Internal ID for this web property.
webProperties[].kind string Resource type for Analytics WebPropertySummary.
webProperties[].level string Level for this web property. Possible values are STANDARD or PREMIUM.
webProperties[].name string Web property name.
webProperties[].profiles[] list List of profiles under this web property.
webProperties[].profiles[].id string View (profile) ID.
webProperties[].profiles[].kind string Resource type for Analytics ProfileSummary.
webProperties[].profiles[].name string View (profile) name.
webProperties[].profiles[].starred boolean Indicates whether this view (profile) is starred or not.
webProperties[].profiles[].type string View (Profile) type. Supported types: WEB or APP.
webProperties[].starred boolean Indicates whether this web property is starred or not.
webProperties[].websiteUrl string Website url for this web property.

Methods

list
Lists account summaries (lightweight tree comprised of accounts/properties/profiles) to which the user has access.