Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
REST Resource: properties.searchAds360Links
Stay organized with collections
Save and categorize content based on your preferences.
Resource: SearchAds360Link
A link between a Google Analytics property and a Search Ads 360 entity.
JSON representation |
{
"name": string,
"advertiserId": string,
"campaignDataSharingEnabled": boolean,
"costDataSharingEnabled": boolean,
"advertiserDisplayName": string,
"adsPersonalizationEnabled": boolean,
"siteStatsSharingEnabled": boolean
} |
Fields |
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
|
advertiserId |
string
Immutable. This field represents the Advertiser ID of the Search Ads 360 Advertiser. that has been linked.
|
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.
|
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.
|
advertiserDisplayName |
string
Output only. The display name of the Search Ads 360 Advertiser. Allows users to easily identify the linked resource.
|
adsPersonalizationEnabled |
boolean
Enables personalized advertising features with this integration. If this field is not set on create, it will be defaulted to true.
|
siteStatsSharingEnabled |
boolean
Enables export of site stats with this integration. If this field is not set on create, it will be defaulted to true.
|
Methods |
|
Creates a SearchAds360Link. |
|
Deletes a SearchAds360Link on a property. |
|
Look up a single SearchAds360Link |
|
Lists all SearchAds360Links on a property. |
|
Updates a SearchAds360Link on a property. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-02 UTC.
[null,null,["Last updated 2025-04-02 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. |"]]