Link a GA4 property to a Google Ads account
create_google_ads_linkLink a GA4 property to a Google Ads customer account (see list_google_ads_links to check what's already linked first - this errors if one already exists for that pair). Together with mark_key_event, this is what lets Google automatically sync a GA4 key event into a Google Ads conversion action - see update_ga4_conversion_action (Google Ads connector) for the one step still needed once that sync happens. Needs the analytics scope; a connection made before that scope was requested will refuse this until reconnected (see needsReconsent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | No | ||
| customerId | Yes | 10-digit Google Ads customer id (dashes optional, e.g. 123-456-7890). | |
| adsPersonalizationEnabled | No | Allow Ads personalization features on this link. Defaults to Google's own default (off) if omitted. |