Hãy thử máy chủ MCP cho Google Analytics. Cài đặt từ
GitHub và xem
thông báo để biết thêm thông tin chi tiết.
REST Resource: accounts
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: Tài khoản
Thông báo tài nguyên đại diện cho một tài khoản Google Analytics.
Biểu diễn dưới dạng JSON |
{
"name": string,
"createTime": string,
"updateTime": string,
"displayName": string,
"regionCode": string,
"deleted": boolean,
"gmpOrganization": string
} |
Trường |
name |
string
Chỉ có đầu ra. Tên tài nguyên của tài khoản này. Định dạng: accounts/{account} Ví dụ: "accounts/100"
|
createTime |
string (Timestamp format)
Chỉ có đầu ra. Thời điểm tài khoản này được tạo lần đầu. Dấu thời gian theo múi giờ "Zulu" RFC3339 (giờ UTC) với độ phân giải nano giây và lên đến 9 chữ số phân số. Ví dụ: "2014-10-02T15:01:23Z" và "2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
Chỉ có đầu ra. Thời điểm cập nhật các trường tải trọng của tài khoản lần gần đây nhất. Dấu thời gian theo múi giờ "Zulu" RFC3339 (giờ UTC) với độ phân giải nano giây và lên đến 9 chữ số phân số. Ví dụ: "2014-10-02T15:01:23Z" và "2014-10-02T15:01:23.045123456Z" .
|
displayName |
string
Bắt buộc. Tên hiển thị dễ đọc của tài khoản này.
|
regionCode |
string
Quốc gia của doanh nghiệp. Phải là mã vùng Unicode CLDR.
|
deleted |
boolean
Chỉ có đầu ra. Cho biết Tài khoản này có bị xoá tạm thời hay không. Tài khoản đã xóa sẽ bị loại trừ khỏi Kết quả danh sách trừ khi được yêu cầu cụ thể.
|
gmpOrganization |
string
Chỉ có đầu ra. URI cho một tài nguyên của tổ chức Google Marketing Platform. Chỉ được đặt khi tài khoản này được kết nối với một tổ chức GMP. Định dạng: Marketingplatformadmin.googleapis.com/organizations/{org_id}
|
Phương thức |
|
Đánh dấu Tài khoản nhắm mục tiêu là bị xoá tạm thời (tức là "đã chuyển vào thùng rác") và trả lại tài khoản đó. |
|
Tìm một Tài khoản. |
|
Nhận chế độ cài đặt cách chia sẻ dữ liệu của một tài khoản. |
|
Trả về tất cả tài khoản mà người gọi có thể truy cập. |
|
Cập nhật một tài khoản. |
|
Yêu cầu phiếu yêu cầu hỗ trợ để tạo tài khoản. |
|
Trả về báo cáo tuỳ chỉnh gồm các bản ghi truy cập dữ liệu. |
|
Tìm kiếm trong tất cả các thay đổi đối với tài khoản hoặc tài khoản con của tài khoản đó dựa vào tập hợp các bộ lọc được chỉ định. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-09-08 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-08 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. |"]]