v1

latestOpenAPI 3.1.02026-07-26950137.9 KB

Update a Campaign Item

Submit a JSON object in a PUT or POST request body. Fields that are omitted or null will not be updated.

post/backstage/api/1.0/{account_id}/campaigns/{campaign_id}/items/{item_id}/

Path parameters

account_idstring required

An alphabetic ID. See Get Account Details.

campaign_idstring required

A numeric ID.

item_idstring required

A numeric ID.

Request body

RAW_BODYstring json required

A JSON object representing the fields to be updated.<br>You can submit only the fields of interest.

Response

200

idstring
campaign_idstring
typestring
urlstring
thumbnail_urlstring
titlestring
approval_statestring
is_activeboolean
statusstring

Example response

{
  "id": "123",
  "campaign_id": "1234",
  "type": "ITEM",
  "url": "http://news.example.com/demo_article_1.html",
  "thumbnail_url": "http://cdn.example.com/demo_image_1.jpg",
  "title": "Updated Title",
  "approval_state": "APPROVED",
  "is_active": true,
  "status": "RUNNING"
}