Update Conversion Goal (primary/secondary)
update_conversion_goalMakes a conversion CATEGORY primary or secondary — the CORRECT lever for Smart Bidding in a goal-based account. Unlike update_conversion_action's legacy primary_for_goal flag, this ALSO works on Google-hosted 'local actions' (map/profile signals) that the API otherwise refuses to change. category+origin identify the goal (run list_conversion_goals first), e.g. category='ENGAGEMENT' origin='GOOGLE_HOSTED' → demote Google Business 'other engagements'; category='PHONE_CALL_LEAD' origin='CALL_FROM_ADS' → keep calls primary. role: 'PRIMARY' (biddable) | 'SECONDARY'. Pass campaign_id to override just that campaign; omit for account-wide. confirm=false → dry-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| origin | Yes | ||
| confirm | No | ||
| category | Yes | ||
| campaign_id | No | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||