# Hermoso: apply_microsoft_ads_recommendations · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/apply_microsoft_ads_recommendations/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / apply_microsoft_ads_recommendations

# `apply_microsoft_ads_recommendations`

Apply Microsoft recommendations (spend-gated) destructive

Area: MICROSOFT AD INSIGHT RECOMMENDATIONS + AUTO-APPLY · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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)

`recommendationIds` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [microsoft_ads_recommendations](https://hermoso.ai/docs/reference/ads/microsoft_ads_recommendations/) What Microsoft suggests changing on the account
- [dismiss_microsoft_ads_recommendations](https://hermoso.ai/docs/reference/ads/dismiss_microsoft_ads_recommendations/) Dismiss Microsoft recommendations
- [microsoft_ads_auto_apply](https://hermoso.ai/docs/reference/ads/microsoft_ads_auto_apply/) Is Microsoft changing this ad account by itself?
- [set_microsoft_ads_auto_apply](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_auto_apply/) Let Microsoft change the account by itself, or stop it (per type)
- [get_microsoft_ads_account_properties](https://hermoso.ai/docs/reference/ads/get_microsoft_ads_account_properties/) Read Microsoft Advertising account settings
- [set_microsoft_ads_account_properties](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_account_properties/) Change Microsoft Advertising account settings

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
