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

> Renames Google Ads ad groups

Renames Google Ads ad groups

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

## Inputs

| Field             | Type                                                              | Required | Default | Description                                                                                                                                          |
| ----------------- | ----------------------------------------------------------------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`         | GadsAccountItem or object or array of object or string or integer | Yes      | -       | Select the Google Ads account, ask the user for it if not provided                                                                                   |
| `update_type`     | string or SelectableOption                                        | Yes      | -       | Choose whether to rename a single ad group or multiple ad groups at once. Available options: 'single' (Single Update), 'bulk' (Bulk Updates)         |
| `ad_group_id`     | string or SelectableOption                                        | No       | -       | Select the ad group to rename, ask the user for it if not provided                                                                                   |
| `ad_group_name`   | string                                                            | No       | -       | Enter the new name for the ad group                                                                                                                  |
| `structured_data` | array (also accepts a comma-separated string)                     | No       | -       | Select a data source that contains ad group IDs and new names. Your data must have these columns or JSON Keys: 'ad\_group\_id' and 'ad\_group\_name' |

### GadsAccountItem

| Field       | Type   | Required | Default | Description                                                                                                                                                    |
| ----------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `value`     | string | Yes      | -       |                                                                                                                                                                |
| `label`     | string | Yes      | -       |                                                                                                                                                                |
| `managerId` | string | Yes      | -       | The manager ID for the Google Ads account. Ask  user to use the dropdown to select accounts, this manager id is selected background and not shown to the user. |

### SelectableOption

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

## Output

**Type**: `str`

Returns success message confirming ad group rename.
