Campaigns

Copy a Campaign

Copy a campaign

post/campaigns/{campaign_id}/copy

Request

Path parameters

campaign_idinteger required

Numeric ID of the campaign object

Request body

advertiser_idinteger
namestring required
start_datestring date-time
end_datestring date-time
merit_pixel_idinteger nullable

Deprecated. Use merit_pixels instead. If merit_pixel_id is updated then merit_pixels will be synchronized with it. If merit_pixels is updated then merit_pixel_id will be synchronized with it. Update both fields at the same time is not supported.

statusboolean required
copy_assigned_site_listsboolean

If true copy everything under 'site lists'

copy_vendor_contractsboolean

If true copy everything under 'vendor contracts'

copy_brain_settingsboolean

Used to be called 'remember_source'. If true set the source_campaign_id to campaign id

copy_audience_in_brainboolean

If true copy 'custom_brain_selections'

copy_viewabilityboolean

If true then copy viewability fields

Example request

{
  "budget": {
    "flights": [
      {
        "start_date": "2019-08-24T14:15:22Z",
        "end_date": "2019-08-24T14:15:22Z",
        "total_budget": 0.1,
        "total_impression_budget": 100
      }
    ]
  }
}

Response

Campaign response

Example response

{
  "data": {
    "source_campaign_id": 7,
    "viewability": {
      "vendor_id": 34
    },
    "ad_server": {
      "ad_server_id": 19
    },
    "pacing": {
      "impression_cap_amount": 11
    },
    "attribution": {
      "pc_window_minutes": 5,
      "pv_window_minutes": 6,
      "merit_pixel_id": 17,
      "conversion_variable_minutes": 1
    },
    "vendor_contracts": [
      {
        "vendor_id": 23
      }
    ],
    "budget": {
      "total_impression_budget": 18789,
      "currency_code": "USD",
      "flights": [
        {
          "id": 77,
          "total_impression_budget": 12345
        }
      ]
    },
    "frequency": {
      "frequency_amount": 10
    }
  },
  "meta": {
    "status": "success"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.