ads_set_campaign_bidding_strategy
Replace an existing campaign's bidding strategy with maximize conversions, target spend, or manual CPC, set optional targets like CPA or ROAS, and validate changes with a dry run before applying.
Instructions
Change an existing campaign's standard (non-portfolio) bidding strategy.
Sets the new strategy oneof on the campaign and updates only that field. Switching strategy resets the previous one. Bid-affecting change.
Args: customer_id: 10-digit account id. campaign_id: campaign id. bidding_strategy: MAXIMIZE_CONVERSIONS | MAXIMIZE_CONVERSION_VALUE | TARGET_SPEND | MANUAL_CPC. target_cpa: optional target CPA (currency) for MAXIMIZE_CONVERSIONS. target_roas: optional target ROAS (e.g. 4.0 = 400%) for value strategy. cpc_ceiling: max CPC ceiling (currency) for TARGET_SPEND/Maximize Clicks. Required for TARGET_SPEND (Google rejects a zero/unset ceiling). confirm: must be true to apply (else dry-run validate only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| target_cpa | No | ||
| campaign_id | No | ||
| cpc_ceiling | No | ||
| customer_id | No | ||
| target_roas | No | ||
| bidding_strategy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |