ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
REST Resource: properties.searchAds360Links
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: SearchAds360Link
ลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับเอนทิตี Search Ads 360
การแสดง JSON |
{
"name": string,
"advertiserId": string,
"campaignDataSharingEnabled": boolean,
"costDataSharingEnabled": boolean,
"advertiserDisplayName": string,
"adsPersonalizationEnabled": boolean,
"siteStatsSharingEnabled": boolean
} |
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อแหล่งข้อมูลสําหรับแหล่งข้อมูล SearchAds360Link นี้ รูปแบบ: properties/{propertyId}/searchAds360Links/{linkId} หมายเหตุ: linkId ไม่ใช่รหัสผู้ลงโฆษณา Search Ads 360
|
advertiserId |
string
เปลี่ยนแปลงไม่ได้ ช่องนี้แสดงรหัสผู้ลงโฆษณาของ Search Ads 360 ที่ลิงก์ไว้
|
campaignDataSharingEnabled |
boolean
เปลี่ยนแปลงไม่ได้ เปิดใช้การนําเข้าข้อมูลแคมเปญจาก Search Ads 360 ไปยังพร็อพเพอร์ตี้ Google Analytics หลังจากสร้างลิงก์แล้ว คุณจะอัปเดตได้จากผลิตภัณฑ์ Search Ads 360 เท่านั้น หากไม่ได้ตั้งค่าช่องนี้เมื่อสร้าง ระบบจะตั้งค่าเริ่มต้นเป็น "จริง"
|
costDataSharingEnabled |
boolean
เปลี่ยนแปลงไม่ได้ เปิดใช้การนําเข้าข้อมูลค่าใช้จ่ายจาก Search Ads 360 ไปยังพร็อพเพอร์ตี้ Google Analytics คุณจะเปิดใช้นี้ได้ก็ต่อเมื่อเปิดใช้ campaignDataSharingEnabled เท่านั้น หลังจากสร้างลิงก์แล้ว คุณจะอัปเดตได้จากผลิตภัณฑ์ Search Ads 360 เท่านั้น หากไม่ได้ตั้งค่าช่องนี้เมื่อสร้าง ระบบจะตั้งค่าเริ่มต้นเป็น "จริง"
|
advertiserDisplayName |
string
เอาต์พุตเท่านั้น ชื่อที่แสดงของผู้ลงโฆษณา Search Ads 360 ช่วยให้ผู้ใช้ระบุทรัพยากรที่ลิงก์ได้อย่างง่ายดาย
|
adsPersonalizationEnabled |
boolean
เปิดใช้ฟีเจอร์โฆษณาที่ปรับเปลี่ยนในแบบของคุณในการผสานรวมนี้ หากไม่ได้ตั้งค่าช่องนี้เมื่อสร้าง ระบบจะตั้งค่าเริ่มต้นเป็น "จริง"
|
siteStatsSharingEnabled |
boolean
เปิดใช้การส่งออกสถิติเว็บไซต์ด้วยการผสานรวมนี้ หากไม่ได้ตั้งค่าช่องนี้เมื่อสร้าง ระบบจะตั้งค่าเริ่มต้นเป็น "จริง"
|
เมธอด |
|
สร้าง SearchAds360Link |
|
ลบ SearchAds360Link ในพร็อพเพอร์ตี้ |
|
ค้นหา SearchAds360Link รายการเดียว |
|
แสดง SearchAds360Links ทั้งหมดในพร็อพเพอร์ตี้ |
|
อัปเดต SearchAds360Link ในพร็อพเพอร์ตี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eSearchAds360Link connects a Google Analytics 4 property with a Search Ads 360 entity, enabling data sharing and personalized advertising.\u003c/p\u003e\n"],["\u003cp\u003eThis link facilitates importing campaign and cost data from Search Ads 360 into Google Analytics 4, enhancing analysis and insights.\u003c/p\u003e\n"],["\u003cp\u003eSearchAds360Link resources can be created, deleted, retrieved, listed, and updated through dedicated API methods.\u003c/p\u003e\n"],["\u003cp\u003eKey data shared includes advertiser ID, campaign data, cost data, display name, and personalized advertising settings.\u003c/p\u003e\n"],["\u003cp\u003eData sharing settings like \u003ccode\u003ecampaignDataSharingEnabled\u003c/code\u003e, \u003ccode\u003ecostDataSharingEnabled\u003c/code\u003e, \u003ccode\u003eadsPersonalizationEnabled\u003c/code\u003e, and \u003ccode\u003esiteStatsSharingEnabled\u003c/code\u003e are immutable after creation and managed through Search Ads 360.\u003c/p\u003e\n"]]],["A Search Ads 360 link connects a Google Analytics property to a Search Ads 360 entity, using a unique `linkId`. It involves sharing data, including `campaignData`, `costData`, and `siteStats`. The link can be created, deleted, retrieved, listed, or updated. Key fields include `advertiserId`, `campaignDataSharingEnabled`, `costDataSharingEnabled`, `adsPersonalizationEnabled`, and `siteStatsSharingEnabled`, with defaults set to true upon creation if not specified. `name` and `advertiserDisplayName` are output only fields.\n"],null,["# REST Resource: properties.searchAds360Links\n\n- [Resource: SearchAds360Link](#SearchAds360Link)\n - [JSON representation](#SearchAds360Link.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SearchAds360Link\n--------------------------\n\nA link between a Google Analytics property and a Search Ads 360 entity.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"advertiserId\": string, \"campaignDataSharingEnabled\": boolean, \"costDataSharingEnabled\": boolean, \"advertiserDisplayName\": string, \"adsPersonalizationEnabled\": boolean, \"siteStatsSharingEnabled\": boolean } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID |\n| `advertiserId` | `string` Immutable. This field represents the Advertiser ID of the Search Ads 360 Advertiser. that has been linked. |\n| `campaignDataSharingEnabled` | `boolean` Immutable. Enables the import of campaign data from Search Ads 360 into the Google Analytics property. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. |\n| `costDataSharingEnabled` | `boolean` Immutable. Enables the import of cost data from Search Ads 360 to the Google Analytics property. This can only be enabled if campaignDataSharingEnabled is enabled. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true. |\n| `advertiserDisplayName` | `string` Output only. The display name of the Search Ads 360 Advertiser. Allows users to easily identify the linked resource. |\n| `adsPersonalizationEnabled` | `boolean` Enables personalized advertising features with this integration. If this field is not set on create, it will be defaulted to true. |\n| `siteStatsSharingEnabled` | `boolean` Enables export of site stats with this integration. If this field is not set on create, it will be defaulted to true. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.searchAds360Links/create) | Creates a SearchAds360Link. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.searchAds360Links/delete) | Deletes a SearchAds360Link on a property. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.searchAds360Links/get) | Look up a single SearchAds360Link |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.searchAds360Links/list) | Lists all SearchAds360Links on a property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.searchAds360Links/patch) | Updates a SearchAds360Link on a property. |"]]