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

# Duplicate Adset

> Create a new Meta Ads ad set by duplicating an existing ad set with the option to copy associated ads or move to a different campaign

Create a new Meta Ads ad set by duplicating an existing ad set with the option to copy associated ads or move to a different campaign.

| | |
| - | - |
| **App** | Meta Ads |
| **Operation ID** | `meta_ads_duplicate_adset` |
| **Type** | Action |
| **Connection** | `meta_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 Meta Ads account, ask the user for it if not provided |
| `adset_id` | string or SelectItem | Yes | - | Select the ad set to duplicate |
| `campaign_id` | string or SelectItem | No | - | Optional: Select a different campaign to move the duplicated ad set to. Leave empty to keep under the same campaign. |
| `deep_copy` | string or SelectableOption | No | `false` | Whether to copy all child ads. Options: 'false' (Ad Set Only), 'true' (Ad Set + Ads) |
| `status` | string or SelectableOption | No | `PAUSED` | Status of the duplicated ad set. |
| `rename_strategy` | string or SelectableOption | No | `ONLY_TOP_LEVEL_RENAME` | Which entities to rename. |
| `rename_prefix` | string | No | - | Text to prepend to names |
| `rename_suffix` | string | No | - | Text to append to names |
| `start_time` | integer or string | No | - | Start time for delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC) |
| `end_time` | integer or string | No | - | End time for delivery: Unix seconds, YYYY-MM-DD, or an ISO datetime (UTC). Set to 0 for ongoing delivery with daily budget. |

### 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 duplicated ad set details.

**Fields**: `new_adset_id`, `original_adset_id`


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