GA4: update attribution settings
ga4_update_attribution_settingsChange a GA4 property's reporting attribution model or key-event lookback windows (properties/). Give only what changes: reporting_attribution_model (PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN, PAID_AND_ORGANIC_CHANNELS_LAST_CLICK or GOOGLE_PAID_CHANNELS_LAST_CLICK), acquisition_lookback_days (7 or 30, for first-visit and first-open key events), other_lookback_days (30, 60 or 90). A model change applies to past and future Analytics reports; a window change applies from the day it is made. Which channels may earn credit for conversions shared with Google Ads is not changed here. Returns the settings before and after, and the arguments that put the old values back.
Tools revision: 5c9bea8f.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | ||
| other_lookback_days | No | ||
| acquisition_lookback_days | No | ||
| reporting_attribution_model | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |