Marketplaces API V2.0 API (2.0)

Download OpenAPI description
Overview
Languages
Servers
https://api.mediamath.com/deals/v1.0/

Private Marketplace Exchange (PMP-E)

Private Marketplace Direct (PMP-E)

Operations

Update Publisher

Request

Example: POST https://api.mediamath.com/deals/v1.0/publishers/5

where you might want to edit to the following:

{
    "name" : "edited demo publisher 2", 
}

A video explainer on publisher management through the MediaMath app can be found at: https://academy.mediamath.com/mediamath-beta-courses?next=%2Fmediamath-beta-courses%2F800806

Path
idstringrequired

See below

Headers
Authorizationstring

Authorization

Default Bearer $TOKEN
curl -i -X POST \
  'https://api.mediamath.com/deals/v1.0/publishers/{id}' \
  -H 'Authorization: Bearer $TOKEN'

Responses

{ "data": { "created_on": "2020-09-28T20:52:03+00:00", "deleted_on": null, "id": 5, "last_touch_user_id": 1234, "name": "edited demo publisher 2", "organization_id": 100048, "updated_on": "2020-09-28T20:52:03+00:00" }, "meta": { "status": "ok" } }

Body
dataobject
metaobject
Response
No response example

Delete publisher

Request

Example: DELETE https://api.mediamath.com/deals/v1.0/publishers/5

A video explainer on publisher management through the MediaMath app can be found at: https://academy.mediamath.com/mediamath-beta-courses?next=%2Fmediamath-beta-courses%2F800806

Path
idstringrequired

See below

Headers
Authorizationstring

Authorization

Default Bearer $TOKEN
curl -i -X DELETE \
  'https://api.mediamath.com/deals/v1.0/publishers/{id}' \
  -H 'Authorization: Bearer $TOKEN'

Responses

{
  "meta": {
    "status": "ok"
  },
  "data": {
    "deleted_on": "2020-10-07T21:26:03+00:00",
    "organization_id": 100048,
    "last_touch_user_id": 1234,
    "updated_on": "2020-10-07T21:26:03+00:00",
    "created_on": "2020-09-28T20:52:03+00:00",
    "id": 5,
    "name": "edited demo publisher 2"
  }
}
Body
metaobject
dataobject
Response
No response example

List channels

Request

Displays a list of channels

Headers
Authorizationstring

Authorization

Default Bearer $TOKEN
curl -i -X GET \
  https://api.mediamath.com/deals/v1.0/channels \
  -H 'Authorization: Bearer $TOKEN'

Responses

[
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 1,
    "name": "Display",
    "pos": 1,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  },
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 2,
    "name": "Mobile Web",
    "pos": 2,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  },
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 3,
    "name": "Mobile In-app",
    "pos": 3,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  },
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 4,
    "name": "Video",
    "pos": 4,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  },
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 5,
    "name": "Audio",
    "pos": 5,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  },
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 6,
    "name": "CTV",
    "pos": 6,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  },
  {
    "created_on": "Mon, 20 Jul 2020 11:13:55 GMT",
    "id": 7,
    "name": "DOOH",
    "pos": 7,
    "updated_on": "Mon, 20 Jul 2020 11:13:55 GMT"
  }
]
BodyArray [
created_onstring
idinteger
namestring
posinteger
updated_onstring
]
Response
No response example