Private Marketplace Direct (PMP-E)
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
curl -i -X POST \
'https://api.mediamath.com/deals/v1.0/publishers/{id}' \
-H 'Authorization: Bearer $TOKEN'
No response example
curl -i -X DELETE \
'https://api.mediamath.com/deals/v1.0/publishers/{id}' \
-H 'Authorization: Bearer $TOKEN'
{
"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"
}
}
No response example
curl -i -X GET \
https://api.mediamath.com/deals/v1.0/channels \
-H 'Authorization: Bearer $TOKEN'
[
{
"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"
}
]
No response example