---
updatedAt: 2026-09-24T11:53:05.000Z
agentTools:
  projectIndex: https://developers.taboola.com/backstage-api/llms.txt
---

# Duplicate a Campaign

Returns a JSON object with the newly created campaign.

You can *optionally*:

- Update (override) specific campaign field values.
- Indicate *which* campaign sections should be duplicated (default = *all*).
- Specify a target account for the new campaign (default = *current* account).

<div class="not-prose mt-4 pt-4 border-t border-gray-100 text-sm text-gray-700"><strong class="font-semibold">Rate limit:</strong> <a href="#rate-limit">Tier 4</a></div>

### *Update* specific fields

You can *optionally* pass an object in the request **body**, indicating fields to update.

#### Example - *Update* specific fields

```http Request URL
POST /backstage/api/1.0/demo-advertiser/campaigns/123/duplicate
```
```json Request Object
{
   "name": "Demo Campaign - New name",
   "branding_text": "New branding text",
   "spending_limit": 10000,
   "spending_limit_model": "ENTIRE",
   "comment": "Please apply suitable targeting."
}
```
```json Original campaign
{
    "id": "123",
    "advertiser_id": "demo-advertiser",
    "name": "Demo Campaign",
    "branding_text": "Branding text",
    "tracking_code": "utm_source=taboola&utm_medium=referral",
    "pricing_model": "CPC",
    "cpc": 1.0,
    "daily_cap": 30.0,
    "daily_ad_delivery_model": "STRICT",
    "spending_limit": 100.0,
    "spending_limit_model": "MONTHLY",
    "cpa_goal": 0.0,
    "country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "sub_country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "postal_code_targeting": {
        "type": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/postal_code"
    },
    "contextual_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "platform_targeting": {
        "type": "INCLUDE",
        "value": ["PHON", "TBLT"],
        "href": null
    },
    "publisher_targeting": {
        "type": "EXCLUDE",
        "value": ["site-1", "site-2", "site-3"],
        "href": null
    },
    "os_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "connection_type_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "publisher_bid_modifier": {
        "values": []
    },
    "publisher_bid_strategy_modifiers": {
        "values": []
    },
    "campaign_profile": null,
    "comments": "",
    "spent": 0,
    "bid_type": "OPTIMIZED_CONVERSIONS",
    "traffic_allocation_mode": "OPTIMIZED",
    "external_brand_safety": {
        "type": "NONE",
        "values": []
    },
    "start_date": "2019-12-03",
    "end_date": "9999-12-31",
    "approval_state": "APPROVED",
    "is_active": false,
    "status": "FROZEN",
    "audience_segments_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/audience_segments"
    },
    "custom_audience_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/custom_audience"
    },
    "marking_label_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/marking_labels"
    },
    "lookalike_audience_targeting": {
        "state": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/lookalike_audience"
    },
    "marketing_objective": "LEADS_GENERATION",
    "activity_schedule": {
        "mode": "ALWAYS",
        "rules": [],
        "time_zone": "US/Eastern"
    },
    "policy_review": {
        "reject_reason": null
    }
}
```
```json Response with new campaign
{
    "id": "124",
    "advertiser_id": "demo-advertiser",
    "name": "Demo Campaign - New name",
    "branding_text": "New branding text",
    "tracking_code": "utm_source=taboola&utm_medium=referral",
    "pricing_model": "CPC",
    "cpc": 1.0,
    "daily_cap": 30.0,
    "daily_ad_delivery_model": "STRICT",
    "spending_limit": 10000.0,
    "spending_limit_model": "ENTIRE",
    "cpa_goal": 0.0,
    "country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "sub_country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "postal_code_targeting": {
        "type": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/postal_code"
    },
    "contextual_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "platform_targeting": {
        "type": "INCLUDE",
        "value": ["PHON", "TBLT"],
        "href": null
    },
    "publisher_targeting": {
        "type": "EXCLUDE",
        "value": ["site-1", "site-2", "site-3"],
        "href": null
    },
    "os_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "connection_type_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "publisher_bid_modifier": {
        "values": []
    },
    "publisher_bid_strategy_modifiers": {
        "values": []
    },
    "campaign_profile": null,
    "comments": "Please apply suitable targeting.",
    "spent": 0.0,
    "bid_type": "OPTIMIZED_CONVERSIONS",
    "traffic_allocation_mode": "OPTIMIZED",
    "external_brand_safety": {
        "type": "NONE",
        "values": []
    },
    "start_date": "2020-01-20",
    "end_date": "9999-12-31",
    "approval_state": "APPROVED",
    "is_active": false,
    "status": "FROZEN",
    "audience_segments_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/audience_segments"
    },
    "custom_audience_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/custom_audience"
    },
    "marking_label_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/marking_labels"
    },
    "lookalike_audience_targeting": {
        "state": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/lookalike_audience"
    },
    "marketing_objective": "LEADS_GENERATION",
    "activity_schedule": {
        "mode": "ALWAYS",
        "rules": [],
        "time_zone": "US/Eastern"
    },
    "policy_review": {
        "reject_reason": null
    }
}
```

> 🚧
>
> **Tip**: If the *original* campaign reached its `end_date`, make sure to submit a new `end_date` when you duplicate it.

### Specify which sections should be duplicated

By default, the `duplicate` endpoint duplicates the *entire* campaign, and all its items. You can use the (optional) `duplicate_settings` param to control which campaign sections are included in the duplication.

#### duplicate\_settings

```julia Example with all settings
{
    ...
    "duplicate_settings": {
        "include_items": false,
        "include_publisher_bid_modifiers": false,
        "include_blocked_publishers": true,
        "include_third_party_tracking": true
    }
}
```
```json Example with partial settings
{
    ...
    "duplicate_settings": {
        "include_items": false,
        "include_publisher_bid_modifiers": false
    }
}
```

> 🚧 If a setting is not present, the default value is `true`.\
> Therefor, the above 2 examples are equivalent.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Setting
      </th>

      <th>
        Type
      </th>

      <th>
        Pass 'true' (or leave out) to duplicate:
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        include\_items
      </td>

      <td>
        Boolean\
        (default = `true`)
      </td>

      <td>
        * All campaign items.
        * The [`approval_state`](https://developers.taboola.com/backstage-api/docs/campaign-approval-state) of the original campaign and each of its [items](https://developers.taboola.com/backstage-api/docs/item-approval-state).
      </td>
    </tr>

    <tr>
      <td>
        include\_publisher\_bid\_modifiers
      </td>

      <td>
        Boolean\
        (default = `true`)
      </td>

      <td>
        * [`publisher_bid_modifier`](https://developers.taboola.com/backstage-api/docs/campaign-publisher-bid-modifier)
        * [`publisher_bid_strategy_modifiers`](https://developers.taboola.com/backstage-api/docs/campaign-publisher-bid-strategy-modifiers)
      </td>
    </tr>

    <tr>
      <td>
        include\_blocked\_publishers
      </td>

      <td>
        Boolean\
        (default = `true`)
      </td>

      <td>
        * [`publisher_targeting`](https://developers.taboola.com/backstage-api/docs/campaign-publisher-targeting)
      </td>
    </tr>

    <tr>
      <td>
        include\_third\_party\_tracking
      </td>

      <td>
        Boolean\
        (default = `true`)
      </td>

      <td>
        * [`tracking_code`](https://developers.taboola.com/backstage-api/docs/campaign-tracking-code)
        * [`verification_pixel`](https://developers.taboola.com/backstage-api/docs/campaign-verification-pixel) 
        * [`viewability_tag`](https://developers.taboola.com/backstage-api/docs/campaign-viewability-tag)
      </td>
    </tr>
  </tbody>
</Table>

#### Example - *Exclude* the campaign items and publisher bid modifiers from the duplication

```http Request URL
POST /backstage/api/1.0/demo-advertiser-1/campaigns/123/duplicate
```
```json Request Object
{
   "name": "Demo Campaign - New name",
   "branding_text": "New branding text",
   "spending_limit": 10000,
   "spending_limit_model": "ENTIRE",
   "comments": "Please apply suitable targeting.",
   "duplicate_settings": {
      "include_items": false,
      "include_publisher_bid_modifiers": false,
      "include_blocked_publishers": true,
      "include_third_party_tracking": true
   }
}
```
```json Original campaign
{
    "id": "123",
    "advertiser_id": "demo-advertiser",
    "name": "Demo Campaign",
    "branding_text": "Branding text",
    "tracking_code": "utm_source=taboola&utm_medium=referral",
    "pricing_model": "CPC",
    "cpc": 1,
    "daily_cap": 30,
    "daily_ad_delivery_model": "STRICT",
    "spending_limit": 100,
    "spending_limit_model": "MONTHLY",
    "cpa_goal": 0,
    "country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "sub_country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "postal_code_targeting": {
        "type": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/postal_code"
    },
    "contextual_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "platform_targeting": {
        "type": "INCLUDE",
        "value": [
            "PHON",
            "TBLT"
        ],
        "href": null
    },
    "publisher_targeting": {
        "type": "EXCLUDE",
        "value": [
            "sample-publisher-1",
            "sample-publisher-2",
            "sample-publisher-3"
        ],
        "href": null
    },
    "os_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "connection_type_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "publisher_bid_modifier": {
        "values": [{
                "target": "sample-publisher-4",
                "cpc_modification": 0.5
            },
            {
                "target": "sample-publisher-5",
                "cpc_modification": 1.5
            }
        ]
    },
    "publisher_bid_strategy_modifiers": {
        "values": [{
            "publisher": "sample-publisher-6",
            "bid_strategy": "FIXED"
        }]
    },
    "campaign_profile": null,
    "comments": "",
    "spent": 0,
    "bid_type": "OPTIMIZED_CONVERSIONS",
    "traffic_allocation_mode": "OPTIMIZED",
    "external_brand_safety": {
        "type": "NONE",
        "values": []
    },
    "start_date": "2019-12-03",
    "end_date": "9999-12-31",
    "approval_state": "APPROVED",
    "is_active": false,
    "status": "FROZEN",
    "audience_segments_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/audience_segments"
    },
    "custom_audience_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/custom_audience"
    },
    "marking_label_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/marking_labels"
    },
    "lookalike_audience_targeting": {
        "state": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/lookalike_audience"
    },
    "marketing_objective": "LEADS_GENERATION",
    "verification_pixel": {
        "verification_pixel_items": [{
                "url": "https://www.example.com/",
                "verification_pixel_type": "CLICK"
            },
            {
                "url": "https://www.example.com/",
                "verification_pixel_type": "VIEWABLE_IMPRESSION"
            },
            {
                "url": "https://www.example.com/",
                "verification_pixel_type": "IMPRESSION"
            }
        ]
    },
    "viewability_tag": {
        "values": [{
                "tag": "<noscript class=...></noscript><script src=...></script>",
                "type": "DOUBLE_VERIFY"
            },
            {
                "tag": "<noscript class=...></noscript><script src=...></script>",
                "type": "IAS"
            }
        ]
    },
    "activity_schedule": {
        "mode": "ALWAYS",
        "rules": [],
        "time_zone": "US/Eastern"
    },
    "policy_review": {
        "reject_reason": null
    },
    "browser_targeting": {
        "type": "INCLUDE",
        "value": [
            "Safari",
            "Android App",
            "Firefox",
            "Opera"
        ],
        "href": null
    }
}
```
```json Response with new campaign
{
    "id": "124",
    "advertiser_id": "demo-advertiser",
    "name": "Demo Campaign",
    "branding_text": "New branding text",
    "tracking_code": "utm_source=taboola&utm_medium=referral",
    "pricing_model": "CPC",
    "cpc": 1,
    "daily_cap": 30,
    "daily_ad_delivery_model": "STRICT",
    "spending_limit": 10000,
    "spending_limit_model": "ENTIRE",
    "cpa_goal": 0,
    "country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "sub_country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "postal_code_targeting": {
        "type": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/postal_code"
    },
    "contextual_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "platform_targeting": {
        "type": "INCLUDE",
        "value": [
            "PHON",
            "TBLT"
        ],
        "href": null
    },
    "publisher_targeting": {
        "type": "EXCLUDE",
        "value": [
            "sample-publisher-1",
            "sample-publisher-2",
            "sample-publisher-3"
        ],
        "href": null
    },
    "os_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "connection_type_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "publisher_bid_modifier": {
        "values": []
    },
    "publisher_bid_strategy_modifiers": {
        "values": []
    },
    "campaign_profile": null,
    "comments": "Please apply suitable targeting.",
    "spent": 0,
    "bid_type": "OPTIMIZED_CONVERSIONS",
    "traffic_allocation_mode": "OPTIMIZED",
    "external_brand_safety": {
        "type": "NONE",
        "values": []
    },
    "start_date": "2019-12-03",
    "end_date": "9999-12-31",
    "approval_state": "PENDING",
    "is_active": false,
    "status": "FROZEN",
    "audience_segments_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/audience_segments"
    },
    "custom_audience_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/custom_audience"
    },
    "marking_label_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/marking_labels"
    },
    "lookalike_audience_targeting": {
        "state": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/lookalike_audience"
    },
    "marketing_objective": "LEADS_GENERATION",
    "verification_pixel": {
        "verification_pixel_items": [{
                "url": "https://www.example.com/",
                "verification_pixel_type": "CLICK"
            },
            {
                "url": "https://www.example.com/",
                "verification_pixel_type": "VIEWABLE_IMPRESSION"
            },
            {
                "url": "https://www.example.com/",
                "verification_pixel_type": "IMPRESSION"
            }
        ]
    },
    "viewability_tag": {
        "values": [{
                "tag": "<noscript class=...></noscript><script src=...></script>",
                "type": "DOUBLE_VERIFY"
            },
            {
                "tag": "<noscript class=...></noscript><script src=...></script>",
                "type": "IAS"
            }
        ]
    },
    "activity_schedule": {
        "mode": "ALWAYS",
        "rules": [],
        "time_zone": "US/Eastern"
    },
    "policy_review": {
        "reject_reason": null
    },
    "browser_targeting": {
        "type": "INCLUDE",
        "value": [
            "Safari",
            "Android App",
            "Firefox",
            "Opera"
        ],
        "href": null
    }
}
```

> 🚧 Duplication results
>
> 1. Because `include_items` was set to `false`, the new campaign is created with an approval state of "PENDING", and without any items.
> 2. Because `include_publisher_bid_modifiers` was set to `false`, the bid modifier fields have empty collections.
> 3. Blocked publishers and third party tracking fields are duplicated as normal.

#### Example - Implicit inclusion

In the previous example, we specified the sections to exclude, as well as the sections to *include*.

If you leave out a setting, that section will be *included* by default.

The following request objects are equivalent:

```json Request Object (explicit)
{
   "name": "Demo Campaign - New name",
   "branding_text": "New branding text",
   "spending_limit": 10000,
   "spending_limit_model": "ENTIRE",
   "comment": "Please apply suitable targeting.",
   "duplicate_settings": {
      "include_items": false,
      "include_publisher_bid_modifiers": false,
      "include_blocked_publishers": true,
      "include_third_party_tracking": true
   }
}
```
```json Request Object (implicit)
{
   "name": "Demo Campaign - New name",
   "branding_text": "New branding text",
   "spending_limit": 10000,
   "spending_limit_model": "ENTIRE",
   "comment": "Please apply suitable targeting.",
   "duplicate_settings": {
      "include_items": false,
      "include_publisher_bid_modifiers": false
   }
}
```

#### Guidelines

Campaign duplication settings include a number of business rules. These are summarized below.

> 🚧 Guidelines
>
> 1. To *exclude* a campaign section, set the relevant property under `duplicate_settings` to `false`.
> 2. To *duplicate* a campaign section, set the relevant property under `duplicate_settings`  to true - or leave it out.
> 3. To duplicate *all* campaign sections, leave out the `duplicate_settings` param altogether (or pass true for all its properties).
> 4. Campaign fields that were not included in the duplication will be assigned default values (just like any new campaign) - unless you explicitly assign them a value (see next point).
> 5. You can update 1 of more campaign fields directly within the request body. The specified campaign fields will be updated, regardless of whether they were part of the duplication process.

## Duplicate a campaign for a *different* account

You can assign the new campaign to a *different* account in your network. To do so, use the `destination_account` **query** param.

> 🚧 Cross-account campaign groups
>
> The source account's [campaign group](https://developers.taboola.com/backstage-api/docs/campaign-groups-overview) is not reused. When duplicating across accounts, the `campaign_group_id` on the duplicate must reference a campaign group that belongs to the destination account. Otherwise the API rejects the request with `campaign group and account must be related`.

#### Example - Duplicate for a *different* account

```http Request URL (with query param)
POST /backstage/api/1.0/demo-advertiser-1/campaigns/123/duplicate?destination_account=demo-advertiser-2
```
```json Request Object (Optional)
{
   "name": "Demo Campaign - New name",
   "branding_text": "New branding text",
   "spending_limit": 10000,
   "spending_limit_model": "ENTIRE",
   "comment": "Please apply suitable targeting."
}
```
```json Original campaign
{
    "id": "123",
    "advertiser_id": "demo-advertiser-1",
    "name": "Demo Campaign",
    "branding_text": "Branding text",
    "tracking_code": "utm_source=taboola&utm_medium=referral",
    "pricing_model": "CPC",
    "cpc": 1,
    "daily_cap": 30,
    "daily_ad_delivery_model": "STRICT",
    "spending_limit": 100,
    "spending_limit_model": "MONTHLY",
    "cpa_goal": 0,
    "country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "sub_country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "postal_code_targeting": {
        "type": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/postal_code"
    },
    "contextual_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "platform_targeting": {
        "type": "INCLUDE",
        "value": ["PHON", "TBLT"],
        "href": null
    },
    "publisher_targeting": {
        "type": "EXCLUDE",
        "value": ["publisher-1", "publisher-2", "publisher-3"],
        "href": null
    },
    "os_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "connection_type_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "publisher_bid_modifier": {
        "values": []
    },
    "publisher_bid_strategy_modifiers": {
        "values": []
    },
    "campaign_profile": null,
    "comments": "",
    "spent": 0,
    "bid_type": "OPTIMIZED_CONVERSIONS",
    "traffic_allocation_mode": "OPTIMIZED",
    "external_brand_safety": {
        "type": "NONE",
        "values": []
    },
    "start_date": "2019-12-03",
    "end_date": "9999-12-31",
    "approval_state": "APPROVED",
    "is_active": false,
    "status": "FROZEN",
    "audience_segments_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/audience_segments"
    },
    "custom_audience_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/custom_audience"
    },
    "marking_label_multi_targeting": {
        "state": "EXISTS",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/marking_labels"
    },
    "lookalike_audience_targeting": {
        "state": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/123/targeting/lookalike_audience"
    },
    "marketing_objective": "LEADS_GENERATION",
    "activity_schedule": {
        "mode": "ALWAYS",
        "rules": [],
        "time_zone": "US/Eastern"
    },
    "policy_review": {
        "reject_reason": null
    }
}
```
```json Response with new campaign
{
    "id": "124",
    "advertiser_id": "demo-advertiser-2",
    "name": "Demo Campaign - New name",
    "branding_text": "New branding text",
    "tracking_code": "utm_source=taboola&utm_medium=referral",
    "pricing_model": "CPC",
    "cpc": 1.0,
    "daily_cap": 30.0,
    "daily_ad_delivery_model": "STRICT",
    "spending_limit": 10000.0,
    "spending_limit_model": "ENTIRE",
    "cpa_goal": 0.0,
    "country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "sub_country_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "postal_code_targeting": {
        "type": "ALL",
        "value": null,
        "href": "https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/postal_code"
    },
    "contextual_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "platform_targeting": {
        "type": "INCLUDE",
        "value": [
            "PHON",
            "TBLT"
        ],
        "href": null
    },
    "publisher_targeting": {
        "type": "EXCLUDE",
        "value": [
            "housediver",
            "notifyai-marketplace",
            "pushnami-globalfinancial"
        ],
        "href": null
    },
    "os_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "connection_type_targeting": {
        "type": "ALL",
        "value": [],
        "href": null
    },
    "publisher_bid_modifier": {
        "values": []
    },
    "publisher_bid_strategy_modifiers": {
        "values": []
    },
    "campaign_profile": null,
    "comments": "Please apply suitable targeting.",
    ...
}
```

> 🚧
>
> The user making the request must have permissions for both accounts (`demo-advertiser-1` *and* `demo-advertiser-2`).

> 🚧 Params:
>
> * Pass the campaign *owner* as the `account_id` **path** param (*not* your *network* account).
> * Pass the target account as the `destination_account` **query** param.

## Rate limit

> 🚧 Rate limit
>
> **Tier 4.** Duplicating a campaign has its own budget, separate from the rest of the campaign endpoints.
>
> See [Rate limits](https://developers.taboola.com/backstage-api/reference/rate-limits) for the request allowance each tier carries.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "backstage-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://backstage.taboola.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://backstage.taboola.com/backstage/oauth/token",
            "scopes": {}
          },
          "password": {
            "tokenUrl": "https://backstage.taboola.com/backstage/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "paths": {
    "/backstage/api/1.0/{account_id}/campaigns/{campaign_id}/duplicate/": {
      "post": {
        "summary": "Duplicate a Campaign",
        "description": "Returns a JSON object with the newly created campaign.\n\nYou can *optionally*:\n\n- Update (override) specific campaign field values.\n- Indicate *which* campaign sections should be duplicated (default = *all*).\n- Specify a target account for the new campaign (default = *current* account).\n\n<div class=\"not-prose mt-4 pt-4 border-t border-gray-100 text-sm text-gray-700\"><strong class=\"font-semibold\">Rate limit:</strong> <a href=\"#rate-limit\">Tier 4</a></div>",
        "operationId": "duplicate-a-campaign",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "An *alphabetic* ID. See [Get Account Details](ref:get-account-details).",
            "schema": {
              "type": "string",
              "default": "demo-advertiser"
            },
            "required": true
          },
          {
            "name": "campaign_id",
            "in": "path",
            "description": "A *numeric* ID. See the response returned by [Get All Campaigns](ref:get-all-campaigns).",
            "schema": {
              "type": "string",
              "default": "123"
            },
            "required": true
          },
          {
            "name": "destination_account",
            "in": "query",
            "description": "(*Optional*) Use this query param to duplicate the campaign to another account in your network.<br> See below for details.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "RAW_BODY": {
                    "type": "string",
                    "description": "You can _optionally_ include a JSON object in the request body, to:<br /> - Update (override) specific campaign field values.<br /> - Indicate _which_ campaign sections should be duplicated (default = _all_).<br /> <br /> See the examples provided below.",
                    "default": "{    \"name\": \"Demo Campaign - New name\",    \"branding_text\": \"New branding text\",    \"spending_limit\": 10000,    \"spending_limit_model\": \"ENTIRE\",    \"comment\": \"Please apply suitable targeting.\",    \"duplicate_settings\": {       \"include_items\": false,       \"include_publisher_bid_modifiers\": false,       \"include_blocked_publishers\": true,       \"include_third_party_tracking\": true    } }",
                    "format": "json"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": \"124\",\n    \"advertiser_id\": \"demo-advertiser\",\n    \"name\": \"Demo Campaign - New name\",\n    \"branding_text\": \"New branding text\",\n    \"tracking_code\": \"utm_source=taboola&utm_medium=referral\",\n    \"pricing_model\": \"CPC\",\n    \"cpc\": 1.0,\n    \"daily_cap\": 30.0,\n    \"daily_ad_delivery_model\": \"STRICT\",\n    \"spending_limit\": 10000.0,\n    \"spending_limit_model\": \"ENTIRE\",\n    \"cpa_goal\": 0.0,\n    \"country_targeting\": {\n        \"type\": \"ALL\",\n        \"value\": [],\n        \"href\": null\n    },\n    \"sub_country_targeting\": {\n        \"type\": \"ALL\",\n        \"value\": [],\n        \"href\": null\n    },\n    \"postal_code_targeting\": {\n        \"type\": \"ALL\",\n        \"value\": null,\n        \"href\": \"https://backstage.taboola.com/backstage/api/1.0/demo-advertiser/campaigns/124/targeting/postal_code\"\n    },\n    \"contextual_targeting\": {\n        \"type\": \"ALL\",\n        \"value\": [],\n        \"href\": null\n    },\n    \"platform_targeting\": {\n        \"type\": \"INCLUDE\",\n        \"value\": [\"PHON\", \"TBLT\"],\n        \"href\": null\n    },\n    \"publisher_targeting\": {\n        \"type\": \"ALL\",\n        \"value\": [],\n        \"href\": null\n    },\n    ...\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  }
}
```