Browse the help center

PMP Deals API endpoints

Endpoint reference for the PMP Deals tag (6 endpoints): Private Marketplace deal management

Reference network manager admin

Private Marketplace deal management. 6 endpoints, generated from the OpenAPI spec. Authentication, the response envelope, pagination and error codes are shared by all endpoints — see REST API overview. Parameters marked form go in an application/x-www-form-urlencoded request body.

POST /rest-api/campaign/{campaignId}/pmp-deal.do

Request examples

Create a PMP deal for campaign.

ParameterInTypeRequiredDescription
campaignIdpathintegeryesNumeric ID of the campaign to associate the new PMP deal with
dealIdformstringyesExternal PMP deal identifier string used in OpenRTB bid requests between buyer and seller
buyerIdformstringyesBuyer seat identifier string that identifies the DSP or buyer in the OpenRTB protocol
auctionTypeformstringyesAuction pricing model for this deal. FIRST_PRICE: winner pays their bid; SECOND_PRICE: winner pays second-highest bid plus increment; BID_FLOOR: fixed minimum price Values: FIRST_PRICE, SECOND_PRICE, BID_FLOOR.
countryformstringyesISO 3166-1 alpha-2 country code (e.g. ‘US’, ‘DE’) to restrict the deal to a specific country, or ’*’ to make it a global deal with no country restriction
bidFloorformnumberyesMinimum bid price (floor) for this deal in the campaign’s currency. Bids below this value are rejected.

Responses: 200 — PMP deal created successfully · 404 — Not found — resource does not exist. Errors follow the shared conventions.

GET /rest-api/campaign/{campaignId}/pmp-deals.do

Request examples

List PMP deals for campaign.

ParameterInTypeRequiredDescription
campaignIdpathintegeryesNumeric ID of the campaign whose PMP deals should be retrieved

Responses: 200 — PMP deals retrieved successfully · 404 — Not found — resource does not exist. Errors follow the shared conventions.

POST /rest-api/campaign/{campaignId}/pmp-deals/disable.do

Request examples

Disable PMP deals for campaign.

ParameterInTypeRequiredDescription
campaignIdpathintegeryesNumeric ID of the campaign

Responses: 200 — PMP deals disabled; pmpDealsEnabled echoes the new state · 404 — Campaign not found or deleted. Errors follow the shared conventions.

POST /rest-api/campaign/{campaignId}/pmp-deals/enable.do

Request examples

Enable PMP deals for campaign.

ParameterInTypeRequiredDescription
campaignIdpathintegeryesNumeric ID of the campaign

Responses: 200 — PMP deals enabled; pmpDealsEnabled echoes the new state · 404 — Campaign not found or deleted. Errors follow the shared conventions.

POST /rest-api/campaign/pmp-deal/{id}.do

Request examples

Update a PMP deal.

ParameterInTypeRequiredDescription
idpathintegeryesInternal numeric ID of the PMP deal record to update (obtained from the list PMP deals response)
dealIdformstringyesExternal PMP deal identifier string used in OpenRTB bid requests between buyer and seller
buyerIdformstringyesBuyer seat identifier string that identifies the DSP or buyer in the OpenRTB protocol
auctionTypeformstringyesAuction pricing model for this deal. FIRST_PRICE: winner pays their bid; SECOND_PRICE: winner pays second-highest bid plus increment; BID_FLOOR: fixed minimum price Values: FIRST_PRICE, SECOND_PRICE, BID_FLOOR.
countryformstringyesISO 3166-1 alpha-2 country code (e.g. ‘US’, ‘DE’) to restrict the deal to a specific country, or ’*’ to make it a global deal with no country restriction
bidFloorformnumberyesMinimum bid price (floor) for this deal in the campaign’s currency. Bids below this value are rejected.

Responses: 200 — PMP deal updated successfully · 404 — Not found — resource does not exist. Errors follow the shared conventions.

POST /rest-api/campaign/pmp-deals/delete.do

Request examples

Delete PMP deals.

ParameterInTypeRequiredDescription
idsformarray<integer>yesOne or more internal numeric IDs of the PMP deal records to permanently delete

Responses: 200 — PMP deals deleted successfully. Errors follow the shared conventions.

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.