GA4: create Google Ads link
ga4_create_google_ads_linkLink a GA4 property (properties/) to a Google Ads account, so its key events can be imported into Google Ads as conversions and paid visits join the organic ones. customer_id is the Google Ads account (digits; hyphens are stripped). ads_personalization_enabled shares Analytics audiences and remarketing events with Google Ads — off unless the user asks for it. Read ga4_list_google_ads_links first: a property already linked to this account needs no second link. While linked, Google Ads click and cost data flows into this property and Analytics data flows to that Google Ads account; the link stays until someone removes it in Analytics (Admin, Product links), as this connector cannot unlink.
Tools revision: d80f65c0.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property": "<property>",
"customer_id": "<customer_id>"
},
"name": "ga4_create_google_ads_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | ||
| customer_id | Yes | ||
| ads_personalization_enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |