試用 Google Analytics 的 MCP 伺服器。從
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 廣告主 ID
|
advertiserId |
string
不可變動。這個欄位代表已連結的 Search Ads 360 廣告主 ID。
|
campaignDataSharingEnabled |
boolean
不可變動。可將廣告活動資料從 Search Ads 360 匯入 Google Analytics 資源。連結建立後,您只能透過 Search Ads 360 產品更新這項設定。如果在建立時未設定這個欄位,系統會預設為 true。
|
costDataSharingEnabled |
boolean
不可變動。啟用這項設定後,即可將費用資料從 Search Ads 360 匯入 Google Analytics 資源。只有在啟用 campaignDataSharingEnabled 時,才能啟用這個選項。連結建立後,您只能透過 Search Ads 360 產品更新這項設定。如果在建立時未設定這個欄位,系統會預設為 true。
|
advertiserDisplayName |
string
僅供輸出。Search Ads 360 廣告主的顯示名稱。讓使用者輕鬆識別已連結的資源。
|
adsPersonalizationEnabled |
boolean
在這次整合中啟用個人化廣告功能。如果在建立時未設定這個欄位,系統會預設為 true。
|
siteStatsSharingEnabled |
boolean
透過這項整合功能,您可以匯出網站統計資料。如果在建立時未設定這個欄位,系統會預設為 true。
|
方法 |
|
建立 SearchAds360Link。 |
|
刪除資源上的 SearchAds360Link。 |
|
查詢單一 SearchAds360Link |
|
列出資源上的所有 SearchAds360Links。 |
|
更新資源上的 SearchAds360Link。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]