Inputs
SelectItem
SelectableOption
Output
Type:String
Returns a summary of how many ad groups were renamed.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Renames X (Twitter) Ads ad groups (line items), one or many at once
| App | X Ads |
| Operation ID | x_ads_rename_ad_group |
| Type | Action |
| Connection | x_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the X Ads account that owns the ad groups. |
update_type | string or SelectableOption | Yes | - | Choose whether to rename a single ad group or multiple at once. Options: single or bulk. |
ad_group_id | string or SelectItem | No | - | X Ads ad group (line item) ID to rename. Required for single update. |
new_name | string | No | - | New ad group name, up to 255 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_group_id and new_name (up to 255 characters). Up to 100 rows. |
| 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. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | |
label | string | Yes | - |
String
Returns a summary of how many ad groups were renamed.