ga4_create_audience
Create a simple event-based GA4 audience with an event name filter and membership duration. Use the GA4 UI for complex multi-step funnels to avoid errors.
Instructions
Create a simple event-based audience (e.g. 'viewed a property page, no generate_lead'). For anything beyond a single event condition, build it in the GA4 UI -- the filterClauses shape for sequences and multi-step funnels is deep enough that hand-building the request body here would be more error-prone than the UI's audience builder.
Args: membership_duration_days: how long a user stays in the audience once they qualify, 1-540. RLSA on Search needs 1,000+ members before it can serve. event_name_filter: if set, membership = fired this event at least once. Leave unset and build the audience by hand in the UI for anything more complex. confirm: must be true to actually create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| description | Yes | ||
| property_id | No | ||
| display_name | Yes | ||
| event_name_filter | No | ||
| membership_duration_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |