MCP-Server für Google Analytics ausprobieren Installieren Sie das Tool über
GitHub. Weitere Informationen finden Sie in der
Ankündigung.
REST Resource: accounts
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ressource: Konto
Eine Ressourcennachricht, die ein Google Analytics-Konto darstellt.
JSON-Darstellung |
{
"name": string,
"createTime": string,
"updateTime": string,
"displayName": string,
"regionCode": string,
"deleted": boolean,
"gmpOrganization": string
} |
Felder |
name |
string
Nur Ausgabe. Ressourcenname dieses Kontos. Format: „accounts/{account}“ Beispiel: „accounts/100“
|
createTime |
string (Timestamp format)
Nur Ausgabe. Zeitpunkt, zu dem dieses Konto ursprünglich erstellt wurde. Es wird RFC 3339 verwendet, wobei die generierte Ausgabe immer Z-normalisiert ist und 0, 3, 6 oder 9 Glieder mit Dezimalstellen enthält. Andere Achsenbezeichnungen als „Z“ sind ebenfalls zulässig. Beispiele: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" oder "2014-10-02T15:01:23+05:30" .
|
updateTime |
string (Timestamp format)
Nur Ausgabe. Zeitpunkt, zu dem die Kontonutzlastfelder zuletzt aktualisiert wurden. Es wird RFC 3339 verwendet, wobei die generierte Ausgabe immer Z-normalisiert ist und 0, 3, 6 oder 9 Glieder mit Dezimalstellen enthält. Andere Achsenbezeichnungen als „Z“ sind ebenfalls zulässig. Beispiele: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" oder "2014-10-02T15:01:23+05:30" .
|
displayName |
string
Erforderlich. Der für Menschen lesbare Anzeigename dieses Kontos.
|
regionCode |
string
Land des Unternehmens. Muss ein Unicode-CLDR-Regionscode sein.
|
deleted |
boolean
Nur Ausgabe. Gibt an, ob dieses Konto nicht vollständig gelöscht wurde. Gelöschte Konten werden aus den Listenergebnissen ausgeschlossen, sofern nicht ausdrücklich anders angegeben.
|
gmpOrganization |
string
Nur Ausgabe. Der URI für eine Google Marketing Platform-Organisationsressource. Wird nur festgelegt, wenn dieses Konto mit einer GMP-Organisation verknüpft ist. Format: marketingplatformadmin.googleapis.com/organizations/{org_id}
|
Methoden |
|
Das Zielkonto wird als „vorläufig gelöscht“ (d. h. „im Papierkorb“) markiert und zurückgegeben. |
|
Suche nach einem einzelnen Konto. |
|
Datenfreigabeeinstellungen für ein Konto abrufen |
|
Gibt alle Konten zurück, auf die der Aufrufer zugreifen kann. |
|
Aktualisiert ein Konto. |
|
Er bittet um ein Ticket für die Kontoerstellung. |
|
Hiermit wird ein benutzerdefinierter Bericht mit Datenzugriffsdatensätzen zurückgegeben. |
|
Es werden alle Änderungen an einem Konto oder seinen untergeordneten Konten anhand der angegebenen Filter durchsucht. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eThis documentation describes the Account resource in Google Analytics, including its JSON representation and available methods.\u003c/p\u003e\n"],["\u003cp\u003eThe Account resource represents a Google Analytics account with properties like name, creation time, display name, and region.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use various methods for account management, such as deleting, retrieving, updating, and listing accounts.\u003c/p\u003e\n"],["\u003cp\u003eAccount data sharing settings can be accessed and a provision ticket for account creation can be requested via dedicated methods.\u003c/p\u003e\n"],["\u003cp\u003eThe API also supports running custom data access reports and searching change history events related to an account.\u003c/p\u003e\n"]]],["The provided content describes Google Analytics account resources, their JSON structure, and available methods. Accounts contain fields like `name`, `createTime`, `updateTime`, `displayName`, `regionCode`, `deleted`, and `gmpOrganization`. Methods include: `delete` (soft-delete), `get`, `getDataSharingSettings`, `list` (all accessible accounts), `patch` (update), `provisionAccountTicket` (create), `runAccessReport` (data access), and `searchChangeHistoryEvents` (account changes).\n"],null,["# REST Resource: accounts\n\n- [Resource: Account](#Account)\n - [JSON representation](#Account.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Account\n-----------------\n\nA resource message representing a Google Analytics account.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"createTime\": string, \"updateTime\": string, \"displayName\": string, \"regionCode\": string, \"deleted\": boolean, \"gmpOrganization\": string } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this account. Format: accounts/{account} Example: \"accounts/100\" |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when this account was originally created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when account payload fields were last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `displayName` | `string` Required. Human-readable display name for this account. |\n| `regionCode` | `string` Country of business. Must be a Unicode CLDR region code. |\n| `deleted` | `boolean` Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested. |\n| `gmpOrganization` | `string` Output only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id} |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/delete) | Marks target Account as soft-deleted (ie: \"trashed\") and returns it. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/get) | Lookup for a single Account. |\n| ### [getDataSharingSettings](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/getDataSharingSettings) | Get data sharing settings on an account. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/list) | Returns all accounts accessible by the caller. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/patch) | Updates an account. |\n| ### [provisionAccountTicket](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/provisionAccountTicket) | Requests a ticket for creating an account. |\n| ### [runAccessReport](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/runAccessReport) | Returns a customized report of data access records. |\n| ### [searchChangeHistoryEvents](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents) | Searches through all changes to an account or its children given the specified set of filters. |"]]