apply_microsoft_ads_recommendations
Apply Microsoft recommendations (spend-gated) destructive
Description
Apply Microsoft Advertising recommendations by id. THIS SPENDS REAL MONEY AND HAS NO UNDO. It raises daily budgets, adds keywords, widens keywords to broad match, DELETES negative keywords so the account buys more searches, and publishes Microsoft-written ads under the brand’s name, all live at the next auction. THE GATE IS UNLIKE THE OTHER MICROSOFT SPEND SWITCHES, AND confirm:true ALONE IS REFUSED: it proves you meant to apply something, not that you know what THESE ones do, and it reads identically for one keyword suggestion and forty budget raises. So call it ONCE with no confirmation. Nothing is applied, and you get every recommendation named with its campaign, exactly what it changes, the current -> recommended budget where there is one, and Microsoft’s own cost estimate. SHOW THAT LIST TO THE USER, get an explicit yes, then call again with confirm:true, confirmCount:<n> and confirmCostIncrease:<n>. BOTH NUMBERS ARE RECOMPUTED FROM A FRESH READ at that moment, so a recommendation Microsoft has withdrawn, already applied or re-priced since you looked fails the check instead of being applied unseen. If ANY id you name is no longer on offer, NOTHING is applied, not even the ones that still are, because applying part of a set you inspected whole is not what you asked for. Microsoft can reject individual items and apply the rest, so the result reports per item: never call a partial apply a failure, and never call it a success. 0 credits to us; the spend lands on the ad account.
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) |
recommendationIdsrequired | string[] | ids from microsoft_ads_recommendations, max 100. There is deliberately no "apply everything" |
confirm | boolean | the user has SEEN the pre-flight list and said yes. Not sufficient on its own, both echo numbers below are also required |
confirmCount | number | echo back how many recommendations this applies: the exact count the un-confirmed call reported |
confirmCostIncrease | number | echo back Microsoft’s own summed cost estimate for them: the exact number the un-confirmed call reported |
dryRun | boolean | report what would happen and apply nothing at all |
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/apply_microsoft_ads_recommendations.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"apply_microsoft_ads_recommendations","arguments":{"recommendationIds":"<array>"}}}
CLI
hermoso call apply_microsoft_ads_recommendations --json '{"recommendationIds":"<array>"}'
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
microsoft_ads_recommendationsWhat Microsoft suggests changing on the accountdismiss_microsoft_ads_recommendationsDismiss Microsoft recommendationsmicrosoft_ads_auto_applyIs Microsoft changing this ad account by itself?set_microsoft_ads_auto_applyLet Microsoft change the account by itself, or stop it (per type)get_microsoft_ads_account_propertiesRead Microsoft Advertising account settingsset_microsoft_ads_account_propertiesChange Microsoft Advertising account settings