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.
GoogleSignalsSettings
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.
Các giá trị cài đặt cho Tín hiệu của Google. Đây là tài nguyên singleton.
Trường |
name |
string
Chỉ có đầu ra. Tên tài nguyên của chế độ cài đặt này. Định dạng: thuộc tính/{property_id}/googleSignalsSettings Ví dụ: "properties/1000/googleSignalsSettings"
|
state |
enum (GoogleSignalsState )
Trạng thái của chế độ cài đặt này.
|
consent |
enum (GoogleSignalsConsent )
Chỉ có đầu ra. Chấp nhận Điều khoản dịch vụ.
|
GoogleSignalsState
Trạng thái của các chế độ cài đặt về tín hiệu của Google.
Enum |
GOOGLE_SIGNALS_STATE_UNSPECIFIED |
Trạng thái Tín hiệu của Google được đặt mặc định là GOOGLE_SIGNALS_STATE_UNSPECIFIED để thể hiện rằng người dùng chưa đưa ra lựa chọn rõ ràng. |
GOOGLE_SIGNALS_ENABLED |
Tín hiệu của Google đang bật. |
GOOGLE_SIGNALS_DISABLED |
Tín hiệu của Google đã bị tắt. |
GoogleSignalsConsent
Trường lấy sự đồng ý trong các chế độ cài đặt về tín hiệu của Google.
Enum |
GOOGLE_SIGNALS_CONSENT_UNSPECIFIED |
Giá trị mặc định cho tín hiệu của Google Tín hiệu là GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. Giá trị này sẽ được coi là GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. |
GOOGLE_SIGNALS_CONSENT_CONSENTED |
Đã chấp nhận các điều khoản dịch vụ |
GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED |
Bạn chưa chấp nhận Điều khoản dịch vụ |
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\u003eGoogle Signals Settings control the status and consent for using Google Signals data in Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eThese settings have three main components: \u003ccode\u003ename\u003c/code\u003e (resource name), \u003ccode\u003estate\u003c/code\u003e (enabled/disabled), and \u003ccode\u003econsent\u003c/code\u003e (terms of service acceptance).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estate\u003c/code\u003e determines whether Google Signals is enabled or disabled for data collection.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003econsent\u003c/code\u003e reflects whether the user has accepted the Google Signals terms of service.\u003c/p\u003e\n"],["\u003cp\u003eThe settings are stored as a singleton resource with a specific JSON representation.\u003c/p\u003e\n"]]],["Google Signals settings, a singleton resource, are defined by a `name`, `state`, and `consent`. The `state` determines if Google Signals is enabled or disabled, with an unspecified default. The `consent` indicates if the user has accepted the terms of service, with an unspecified default being treated as not consented. The resource name is output only and follows the format \"properties/{property_id}/googleSignalsSettings\". These settings can be represented in JSON.\n"],null,["# GoogleSignalsSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [GoogleSignalsState](#GoogleSignalsState)\n- [GoogleSignalsConsent](#GoogleSignalsConsent)\n\nSettings values for Google Signals. This is a singleton resource.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"state\": enum (/analytics/devguides/config/admin/v1/rest/v1alpha/GoogleSignalsSettings#GoogleSignalsState), \"consent\": enum (/analytics/devguides/config/admin/v1/rest/v1alpha/GoogleSignalsSettings#GoogleSignalsConsent) } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: \"properties/1000/googleSignalsSettings\" |\n| `state` | `enum (`[GoogleSignalsState](/analytics/devguides/config/admin/v1/rest/v1alpha/GoogleSignalsSettings#GoogleSignalsState)`)` Status of this setting. |\n| `consent` | `enum (`[GoogleSignalsConsent](/analytics/devguides/config/admin/v1/rest/v1alpha/GoogleSignalsSettings#GoogleSignalsConsent)`)` Output only. Terms of Service acceptance. |\n\nGoogleSignalsState\n------------------\n\nStatus of the Google Signals settings.\n\n| Enums ||\n|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `GOOGLE_SIGNALS_STATE_UNSPECIFIED` | Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice. |\n| `GOOGLE_SIGNALS_ENABLED` | Google Signals is enabled. |\n| `GOOGLE_SIGNALS_DISABLED` | Google Signals is disabled. |\n\nGoogleSignalsConsent\n--------------------\n\nConsent field of the Google Signals settings.\n\n| Enums ||\n|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `GOOGLE_SIGNALS_CONSENT_UNSPECIFIED` | Google Signals consent value defaults to GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. |\n| `GOOGLE_SIGNALS_CONSENT_CONSENTED` | Terms of service have been accepted |\n| `GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED` | Terms of service have not been accepted |"]]