Essayez le serveur MCP pour Google Analytics. Installez-le depuis
GitHub et consultez l'
annonce pour en savoir plus.
REST Resource: properties.searchAds360Links
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Ressource: SearchAds360Link
Association entre une propriété Google Analytics et une entité Search Ads 360.
Représentation JSON |
{
"name": string,
"advertiserId": string,
"campaignDataSharingEnabled": boolean,
"costDataSharingEnabled": boolean,
"advertiserDisplayName": string,
"adsPersonalizationEnabled": boolean,
"siteStatsSharingEnabled": boolean
} |
Champs |
name |
string
Uniquement en sortie. Nom de la ressource SearchAds360Link. Format: properties/{propertyId}/searchAds360Links/{linkId} Remarque: linkId ne correspond pas à l'identifiant de l'annonceur Search Ads 360.
|
advertiserId |
string
Immuable. Ce champ représente l'ID de l'annonceur Search Ads 360 associé.
|
campaignDataSharingEnabled |
boolean
Immuable. Active l'importation des données de campagne depuis Search Ads 360 vers la propriété Google Analytics. Une fois l'association créée, vous ne pouvez modifier ce paramètre que dans le produit Search Ads 360. Si ce champ n'est pas défini lors de la création, la valeur par défaut est "true".
|
costDataSharingEnabled |
boolean
Immuable. Active l'importation des données de coût de Search Ads 360 vers la propriété Google Analytics. Cette option ne peut être activée que si campaignDataSharingEnabled est activé. Une fois l'association créée, vous ne pouvez modifier ce paramètre que dans le produit Search Ads 360. Si ce champ n'est pas défini lors de la création, la valeur par défaut est "true".
|
advertiserDisplayName |
string
Uniquement en sortie. Nom à afficher de l'annonceur Search Ads 360. Permet aux utilisateurs d'identifier facilement la ressource associée.
|
adsPersonalizationEnabled |
boolean
Active les fonctionnalités de publicité personnalisée avec cette intégration. Si ce champ n'est pas défini lors de la création, la valeur par défaut est "true".
|
siteStatsSharingEnabled |
boolean
Active l'exportation des statistiques du site avec cette intégration. Si ce champ n'est pas défini lors de la création, la valeur par défaut est "true".
|
Méthodes |
|
Crée un SearchAds360Link. |
|
Supprime un SearchAds360Link d'une propriété. |
|
Rechercher une seule association SearchAds360Link |
|
Répertorie tous les SearchAds360Links d'une propriété. |
|
Met à jour un SearchAds360Link sur une propriété. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]