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

# Rename Ad

> Renames Spotify ads, one or many at once

Renames Spotify ads, one or many at once.

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

## Inputs

| Field             | Type                                          | Required | Default | Description                                                                                                       |
| ----------------- | --------------------------------------------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------- |
| `account`         | DynamicAccount                                | Yes      | -       | Select the Spotify Ads account that owns the ads.                                                                 |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to rename a single ad or multiple at once. Options: single or bulk.                                |
| `ad_id`           | string or SelectItem                          | No       | -       | Spotify ad ID to rename. Required for single update.                                                              |
| `new_name`        | string                                        | No       | -       | New ad name, 2 to 200 characters. Required for single update.                                                     |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Use only when update\_type is bulk. Required columns: ad\_id and new\_name (2 to 200 characters). Up to 100 rows. |

### 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**: `String`

Returns a summary of how many ads were renamed.
