Dùng 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.
Google sử dụng công nghệ AI để dịch nội dung sang ngôn ngữ bạn ưu tiên. Bản dịch bằng AI có thể có lỗi.
Method: properties.dataStreams.measurementProtocolSecrets.get
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ìm kiếm một MeasurementProtocolSecret.
Yêu cầu HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
| Thông số |
name |
string
Bắt buộc. Tên của khoá bí mật giao thức đo lường để tra cứu. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
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
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của MeasurementProtocolSecret.
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
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],["This document outlines the process to retrieve a single MeasurementProtocolSecret. A `GET` HTTP request is sent to a specific URL, defined by a `name` parameter in the path. The format of the `name` is provided and is required. The request body must be empty. A successful response will include a `MeasurementProtocolSecret` instance in the response body. The request requires one of two OAuth scopes for authorization: `analytics.readonly` or `analytics.edit`.\n"]]