set_microsoft_ads_bidding
Change a Microsoft Advertising bid strategy destructive
Description
Change a Microsoft Advertising campaign’s BID STRATEGY, read back: EnhancedCpc, MaxClicks (maxCpc cap), MaxConversions (optional targetCpa), MaxConversionValue (optional targetRoas), TargetImpressionShare (targetImpressionShare + targetAdPosition). Search takes any; Audience EnhancedCpc / MaxConversions; Shopping EnhancedCpc; Performance Max MaxConversions / MaxConversionValue. TargetCpa and TargetRoas are sent as MaxConversions / MaxConversionValue with the target, which is what Microsoft converts them to since 2025-08-04. Conversion strategies need a UET tag and a conversion goal recording conversions. On a LIVE campaign it needs confirm:true. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Microsoft ad account id — omit to use the single shared account |
accountId | string | older name for adAccountId (MCP only) |
campaignIdrequired | string | Microsoft campaign id whose bid strategy changes |
biddingSchemerequired | "EnhancedCpc" | "MaxClicks" | "MaxConversions" | "MaxConversionValue" | "TargetImpressionShare" | "TargetCpa" | "TargetRoas" | new bid strategy; TargetCpa and TargetRoas are sent as MaxConversions and MaxConversionValue |
maxCpc | number | bid cap in account currency, for MaxClicks and MaxConversions |
targetCpa | number | target cost per conversion in account currency, for MaxConversions |
targetRoas | number | ratio, e.g. 4 = 400% |
targetImpressionShare | number | 1–100 |
targetAdPosition | "FirstPage" | "MainLine" | "MainLine1" | FirstPage, MainLine or MainLine1 (MainLine1 = very top), with TargetImpressionShare |
confirm | boolean | REQUIRED true on a LIVE campaign |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_microsoft_ads_bidding.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_microsoft_ads_bidding","arguments":{"campaignId":"<string>","biddingScheme":"<one of the listed values>"}}}
CLI
hermoso call set_microsoft_ads_bidding --json '{"campaignId":"<string>","biddingScheme":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
manage_microsoft_ads_negative_keyword_listManage a shared Microsoft negative keyword listlist_microsoft_ads_uet_tagsList Microsoft Advertising UET tagsremove_microsoft_ads_negative_keywordsRemove Microsoft Advertising negative keywordscreate_microsoft_ads_uet_tagCreate a Microsoft Advertising UET tagadd_microsoft_ads_negative_keywordsExclude searches on Microsoft Advertising (negative keywords)create_microsoft_ads_conversion_goalCreate a Microsoft Advertising conversion goallist_microsoft_ads_negative_keywordsList Microsoft Advertising negative keywordslist_microsoft_ads_audience_targetingAudiences on a Microsoft campaign or ad groupset_microsoft_ads_audience_targetingTarget or exclude a Microsoft audiencecreate_microsoft_ads_image_adCreate a Microsoft image ad from a render (paused)