Skip to main content
Available Strategies:
  • MAXIMIZE_CLICKS: Get as many clicks as possible within budget
  • MAXIMIZE_CONVERSIONS: Get as many conversions as possible
  • TARGET_CPA: Set a target cost per acquisition (requires target_cpa)
  • TARGET_ROAS: Set a target return on ad spend (requires target_roas)
Parameters:
  • campaign_id: The campaign ID (REQUIRED)
  • strategy: MAXIMIZE_CLICKS, MAXIMIZE_CONVERSIONS, TARGET_CPA, or TARGET_ROAS (REQUIRED)
  • target_cpa: Required if strategy is TARGET_CPA. In dollars, e.g., 25.00 for $25 CPA
  • target_roas: Required if strategy is TARGET_ROAS. Multiplier, e.g., 4.0 for 400% ROAS
  • customer_id: Optional (uses connected account if omitted)
IMPORTANT:
  • TARGET_CPA requires conversion tracking to be set up
  • TARGET_ROAS requires conversion value tracking
  • Changing strategy may take 1-2 weeks to stabilize performance
  • Confirm with user before changing
Execution time: 2-4 seconds Example: User: “I want to target $30 CPA” Agent:
  1. Confirms: “I’ll change the bidding strategy to TARGET_CPA with a $30 target. This may take 1-2 weeks to optimize. Proceed?”
  2. Uses update_bid_strategy with strategy=TARGET_CPA, target_cpa=30.00

OpenAPI

/api-reference/openapi.json post /api/v1/tools/update_bid_strategy/execute