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

# Create Responsive Search Ad

> Create responsive search ads (3-15 headlines, 2-4 descriptions, optional pinning) in Microsoft Ads ad groups

Create responsive search ads (3-15 headlines, 2-4 descriptions, optional pinning) in Microsoft Ads ad groups.

| | |
| - | - |
| **App** | Microsoft Ads |
| **Operation ID** | `microsoft_ads_create_responsive_search_ad` |
| **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 | - | Select the Microsoft Ads account that owns the ad group. |
| `update_type` | string or SelectableOption | Yes | - | Choose whether to create a single responsive search ad or multiple at once. Options: 'single' or 'bulk'. |
| `ad_group_id` | string or SelectItem | No | - | The ad group ID to add the ad to (must be a Search 'SearchStandard' ad group). Required for single create. |
| `headlines` | array of string or object | No | - | List of headlines (3-15 items, max 30 final characters each). Each item is a string or an object with 'text' and optional 'pinned\_field' (HEADLINE\_1, HEADLINE\_2, HEADLINE\_3). Supports dynamic text strings like \{keyword}. Required for single create. |
| `descriptions` | array of string or object | No | - | List of descriptions (2-4 items, max 90 final characters each). Each item is a string or an object with 'text' and optional 'pinned\_field' (DESCRIPTION\_1, DESCRIPTION\_2). Supports dynamic text strings like \{keyword}. Required for single create. |
| `final_url` | string | No | - | The landing page URL (must start with http\:// or https\://). Required for single create. |
| `path_1` | string | No | - | First display path appended to the domain (optional, max 15 final characters). |
| `path_2` | string | No | - | Second display path (optional, max 15 final characters). Can only be set if path\_1 is set. |
| `ad_status` | string or SelectableOption | No | - | Initial ad status. Options: ACTIVE or PAUSED. Defaults to PAUSED. |
| `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data for bulk create. Required columns: 'ad\_group\_id', 'final\_url', 'headlines' (list of strings or \{text, pinned\_field} objects), 'descriptions' (same). Optional: 'path\_1', 'path\_2', 'ad\_status' (defaults to PAUSED). Required for bulk create. |

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

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `Dict`

Returns the created responsive search ads including their ad IDs.

**Fields**: `message`, `created_count`, `results`


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