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.
Method: properties.conversionEvents.list
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.
Không dùng nữa: Chuyển sang dùng ListKeyEvents
. Trả về danh sách các sự kiện chuyển đổi trong tài sản mẹ đã chỉ định.
Trả về một danh sách trống nếu không tìm thấy sự kiện chuyển đổi nào.
Yêu cầu HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/conversionEvents
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
parent |
string
Bắt buộc. Tên tài nguyên của thuộc tính mẹ. Ví dụ: "properties/123"
|
Tham số truy vấn
Tham số |
pageSize |
integer
Số lượng tài nguyên tối đa cần trả về. Nếu bạn không chỉ định, hàm sẽ trả về tối đa 50 tài nguyên. Giá trị tối đa là 200; (giá trị cao hơn sẽ bị buộc đạt giá trị tối đa)
|
pageToken |
string
Mã thông báo trang, nhận được từ lệnh gọi conversionEvents.list trước đó. Cung cấp mã này để truy xuất trang tiếp theo. Khi phân trang, tất cả các tham số khác được cung cấp cho conversionEvents.list phải khớp với lệnh gọi đã cung cấp mã thông báo trang.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Thông báo phản hồi cho conversionEvents.list RPC.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"conversionEvents": [
{
object (ConversionEvent )
}
],
"nextPageToken": string
} |
Trường |
conversionEvents[] |
object (ConversionEvent )
Sự kiện chuyển đổi được yêu cầu
|
nextPageToken |
string
Mã thông báo có thể được gửi dưới dạng pageToken để truy xuất trang tiếp theo. Nếu trường này bị bỏ qua thì sẽ không có trang tiếp theo.
|
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
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: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eRetrieves a list of conversion events within a specified Google Analytics 4 property.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by parent property and pagination for large result sets.\u003c/p\u003e\n"],["\u003cp\u003eReturns event details including name, creation time, and custom event parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequires specific authorization scopes for data access.\u003c/p\u003e\n"],["\u003cp\u003eDeprecated and recommended to use \u003ccode\u003eListKeyEvents\u003c/code\u003e instead.\u003c/p\u003e\n"]]],["This document details the deprecated `conversionEvents.list` API endpoint, replaced by `ListKeyEvents`. It retrieves conversion events for a specified property via a `GET` request to the provided URL using gRPC Transcoding. The `parent` path parameter (e.g., 'properties/123') is required. Optional query parameters `pageSize` (max 200) and `pageToken` allow for pagination. The request body must be empty. The response, formatted in JSON, includes a list of conversion events and a `nextPageToken` for further pagination. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListConversionEventsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n| This item is deprecated!\nDeprecated: Use `ListKeyEvents` instead. Returns a list of conversion events in the specified parent property.\n\nReturns an empty list if no conversion events are found.\n\nHTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/conversionEvents`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The resource name of the parent property. Example: 'properties/123' |\n\nQuery parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |\n| `pageToken` | `string` A page token, received from a previous `conversionEvents.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `conversionEvents.list` must match the call that provided the page token. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body Response message for conversionEvents.list RPC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"conversionEvents\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.conversionEvents#ConversionEvent) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `conversionEvents[]` | `object (`[ConversionEvent](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.conversionEvents#ConversionEvent)`)` The requested conversion events |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\nAuthorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]