(X) Edit Deal
PUT {{campaign_url}}/publisherDeals/:id
Edit an existing publisher deal
You can edit settings for an existing, non-preferred deal by sending this PUT
request. To update deal settings, open the body tab to edit the JSON object. See POST
New Publisher Deal documentation for information on field definitions and allowed values.
The following fields cannot be edited:
-
mediaFormat
-
dealId
-
inventorySourceId
-
dealType
: Cannot change to guaranteed or change from guaranteed to another deal type. -
advertiserIds
: Cannot be edited only ifdealType
is guaranteed. -
workflowStatus
: To update a deal's status, send aPUT
Update Deal Status request.
For information on obtaining the publisher deal's id
, see GET
Existing Deal documentation.
Request Body
{"dealType"=>"privateAuction", "automaticDeal"=>false, "preferred"=>false, "dealName"=>"new deal test name", "mediaFormat"=>"display", "inventorySourceId"=>"1", "publisherName"=>"test publisher", "hdCreativeRequired"=>false, "currency"=>"usd", "price"=>1.0, "startDate"=>"2022-08-01T00:00:00Z", "endDate"=>"2022-10-01T00:00:00Z", "impressions"=>3, "otherInfo"=>"additional info here", "workflowStatus"=>"approved"}