ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
GoogleSignalsSettings
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ค่าการตั้งค่าสำหรับ Google Signals นี่คือแหล่งข้อมูลแบบ Singleton
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรของการตั้งค่านี้ รูปแบบ: พร็อพเพอร์ตี้/{property_id}/googleSignalsSettings เช่น "พร็อพเพอร์ตี้/1000/googleSignalsSettings"
|
state |
enum (GoogleSignalsState )
สถานะของการตั้งค่านี้
|
consent |
enum (GoogleSignalsConsent )
เอาต์พุตเท่านั้น การยอมรับข้อกำหนดในการให้บริการ
|
GoogleSignalsState
สถานะของการตั้งค่า Google Signals
Enum |
GOOGLE_SIGNALS_STATE_UNSPECIFIED |
สถานะ Google Signals จะมีค่าเริ่มต้นเป็น GOOGLE_SIGNALS_STATE_UNSPECIFIED เพื่อแสดงให้เห็นว่าผู้ใช้ไม่ได้เลือกตัวเลือกที่ชัดเจน |
GOOGLE_SIGNALS_ENABLED |
เปิดใช้ Google Signals แล้ว |
GOOGLE_SIGNALS_DISABLED |
Google Signals ปิดใช้อยู่ |
GoogleSignalsConsent
ช่องความยินยอมของการตั้งค่า Google Signals
Enum |
GOOGLE_SIGNALS_CONSENT_UNSPECIFIED |
ค่าเริ่มต้นความยินยอมของ Google Signals เป็น GOOGLE_SIGNALS_CONSENT_UNSPECIFIED ซึ่งจะถือว่าเป็น GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED |
GOOGLE_SIGNALS_CONSENT_CONSENTED |
ยอมรับข้อกำหนดในการให้บริการแล้ว |
GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED |
ยังไม่ได้ยอมรับข้อกำหนดในการให้บริการ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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 |"]]