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

> Create a new Meta Ads campaign by duplicating an existing campaign with the option to copy associated ad sets and ads

Create a new Meta Ads campaign by duplicating an existing campaign with the option to copy associated ad sets and ads.

|                       |                               |
| --------------------- | ----------------------------- |
| **App**               | Meta Ads                      |
| **Operation ID**      | `meta_ads_duplicate_campaign` |
| **Type**              | Action                        |
| **Connection**        | `meta_ads` (required)         |
| **Credits per run**   | 2                             |
| **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                                                   |
| `campaign_id`     | string or SelectItem       | Yes      | -                       | Select the campaign to duplicate                                                                               |
| `deep_copy`       | string or SelectableOption | No       | `false`                 | Whether to copy all child ad sets and ads. Options: 'false' (Campaign Only), 'true' (Campaign + Ad Sets + Ads) |
| `status`          | string or SelectableOption | No       | `PAUSED`                | Status of the duplicated campaign.                                                                             |
| `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                    | No       | -                       | Start time for delivery (Unix timestamp)                                                                       |
| `end_time`        | integer                    | No       | -                       | End time for delivery (Unix timestamp)                                                                         |

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

**Fields**: `new_campaign_id`, `ad_object_ids`
