Skip to content

Get Deal

Request

Get Deal

Security
Bearer
Path
idintegerrequired

id

Query
currency_codestring

Returns a list of deals with price attributes converted to such currency

curl -i -X GET \
  'https://api.mediamath.com/deals/v1.0/deals/{id}?currency_code=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
dataobject
metaobject
Response
{ "data": { "advertiser_id": 0, "bill_type": "EXCHANGE", "channels": [ … ], "created_on": "2019-08-24T14:15:22Z", "currency_code": "str", "deal_identifier": "string", "deal_type": "PG", "description": "string", "end_datetime": "2019-08-24T14:15:22Z", "entity_type": "deal", "id": 0, "name": "string", "owner": { … }, "permissions": { … }, "price": { … }, "price_method": "CPM", "price_type": "FIXED", "start_datetime": "2019-08-24T14:15:22Z", "status": true, "sub_supply_source_id": 0, "supply_source_id": 0, "supply_source": { … }, "publisher_id": 0, "publisher": { … }, "strategies_count": 0, "organization_id": 0, "impressions": 0, "effective_status": "ready", "severity": 0, "deal_groups": [ … ], "updated_on": "2019-08-24T14:15:22Z", "has_strategies": true }, "meta": { "status": "string" } }