You are here: Developers > OpenX Platform API > Platform API reference > deal object

deal object

A prearranged agreement to sell specific inventoryAd space available on a website or app. The basic unit of inventory for OpenX is an ad unit., such as a direct deal between a publisherAn account type that represents a business with ad space to sell. and a demand partnerA company which purchases ad inventory on OpenX Ad Exchange.

The deal object has the following calls:

Call Description
DELETE /deal Delete the specified deals.
DELETE /deal/deal_UID Delete the specified deal.
GET /deal List all deals.
GET /deal/available_fields List the available fields to create or update a deal.
GET /deal/deal_UID Read the specified deal.
GET /deal/export Export data in CSV format for all deals.

Tip: If a deal is associated with a custom packageA bundle of targeting criteria for similar inventory segments which you can offer at a predetermined price (typically to facilitate regular sales efforts) and automatically create line items from in OpenX., its package_name and package_description values in the downloaded CSV file say "Private Selection." The corresponding Package Name entry in the UI says "Custom."

POST /deal Create a deal.
POST /deal/deal_UID/clone Clone the specified deal.
PUT /deal Update the specified deals.
PUT /deal/deal_UID Update the specified deal.

See also

Private marketplace in the OpenX UI help.

Feedback form