Existing Deal
GET {{campaign_url}}/publisherDeals/:id
Retrieve a single publisher deal
You can retrieve an existing deal in your market by sending this GET
request.
To retrieve the id
of a publisher deal, you must first send one of the following:
-
POST
New Publisher Deal request -
GET
List of Deals request
POST
New Publisher Deal will automatically populate the publisherDealId
variable with the ID of your newly created deal.
GET
List of Deals will return a list of deal objects—within your market—containing IDs that you can then manually copy and paste into the value cell for id
.
RESPONSES
status: OK
{"data":[{"id":"1608775070","marketId":"-1","resourceType":"publisherDeal","workflowStatus":"approved","createdAt":"2022-08-23T03:48:35Z","updatedAt":"2022-08-23T03:48:35Z","dealType":"privateAuction","advertiserIds":[],"dealId":"doctestID","dealName":"doc test deal","mediaFormat":"display","inventorySourceId":"1","publisherName":"test publisher","currency":"usd","price":1,"startDate":"2022-07-31T04:00:00Z","endDate":"2022-10-01T03:59:59Z","impressions":3,"otherInfo":"additional info here","hdCreativeRequired":false,"preferred":true}],"errors":[]}