> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apply Recommendations

> Apply or dismiss Microsoft Ads recommendations

Apply or dismiss Microsoft Ads recommendations. Applying makes the change Microsoft suggests and edits live campaigns, so confirm before running it; dismissing only hides the recommendation. Get the IDs and types from microsoft\_ads\_list\_recommendations.

| | |
| - | - |
| **App** | Microsoft Ads |
| **Operation ID** | `microsoft_ads_apply_recommendations` |
| **Type** | Action |
| **Connection** | `microsoft_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the recommendations. |
| `action` | enum (`Apply`, `Dismiss`) | Yes | - | Apply makes the change Microsoft suggests, which edits live campaigns. Dismiss hides the recommendation without changing anything. |
| `recommendations` | string or array of any | Yes | - | Which recommendations to act on, as JSON. Each entry needs recommendation\_id and recommendation\_type, both returned by microsoft\_ads\_list\_recommendations. Applying a budget recommendation can also take a budget\_amount to override Microsoft's suggested figure. |

### MicrosoftAdsAccountItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |
| `customerId` | string | No | - | The Microsoft Ads customer ID used for REST CustomerId headers. If omitted, it is resolved from the account ID. |

## Output

**Type**: `Dict`

Returns what was submitted and anything Microsoft refused.

**Fields**: `action`, `submitted`, `recommendation_ids`, `failed`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.