v1

latestOpenAPI 3.1.02026-07-26950137.9 KB

Patch a Collection

Submit a PATCH request. The request body must contain a JSON object with:

A patch_operation ("ADD", "REMOVE" or "REPLACE") An object that supports the PATCH operation.<br> See Patching Collections (above) for an overview. See below in this topic for examples and restrictions.

patch/backstage/api/1.0/{account_id}/campaigns/{campaign_id}

Path parameters

account_idstring required

An alphabetic ID. See Get Account Details.

campaign_idstring required

A numeric ID. See the response returned by Get All Campaigns.

Request body

RAW_BODYstring json required

A JSON object with: <br> - a patch_operation ("ADD", "REMOVE" or "REPLACE") <br> - An object that supports the PATCH operation.<br>See below for additional examples and restrictions.

Response

200

patch_operationstring
{"stackTrail":"paths:/backstage/api/1.0/{account_id}/campaigns/{campaign_id}:patch:responses:200:content:application/json:schema:properties:publisher_targeting","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/backstage/api/1.0/{account_id}/campaigns/{campaign_id}:patch:responses:200:content:application/json:schema:properties:publisher_bid_strategy_modifiers","oasType":"schema","type":"unknown"}

Example response

{
  "patch_operation": "ADD",
  "publisher_bid_modifier": {
    "values": [
      {
        "target": "publisher1",
        "cpc_modification": 1.5
      }
    ]
  }
}