MediaMath Platform API
MediaMath Platform API
curl -i -X GET \
'https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/marketplaces/{marketplace_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": { "id": 0, "version": 0, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "name": "string", "supply_type": "string", "status": true, "rtb_enabled": true, "strategy_id": 0, "code": "string", "bidder_exchange_identifier": 0, "rtb_type": "string", "has_display": true, "has_mobile_display": true, "has_video": true, "has_mobile_video": true, "requires_creative_audit": true, "has_desktop_video": true, "has_connected_tv": true, "mma_free": true, "private": true, "mkt_sell_price": -1, "mkt_sell_price_currency_code": "USD", "permission_organizations": [ … ], "permission_agencies": [ … ] }, "meta": { "status": "success" } }
curl -i -X POST \
'https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/marketplaces/{marketplace_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"version": 0,
"name": "string",
"supply_type": "string",
"status": true,
"rtb_enabled": true,
"strategy_id": 0,
"code": "string",
"bidder_exchange_identifier": 0,
"rtb_type": "string",
"has_display": true,
"has_mobile_display": true,
"has_video": true,
"has_mobile_video": true,
"requires_creative_audit": true,
"has_desktop_video": true,
"has_connected_tv": true,
"mma_free": true,
"private": true,
"mkt_sell_price": -1,
"mkt_sell_price_currency_code": "USD",
"permission_organizations": [
0
],
"permission_agencies": [
0
]
}'
{ "data": { "id": 0, "version": 0, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "name": "string", "supply_type": "string", "status": true, "rtb_enabled": true, "strategy_id": 0, "code": "string", "bidder_exchange_identifier": 0, "rtb_type": "string", "has_display": true, "has_mobile_display": true, "has_video": true, "has_mobile_video": true, "requires_creative_audit": true, "has_desktop_video": true, "has_connected_tv": true, "mma_free": true, "private": true, "mkt_sell_price": -1, "mkt_sell_price_currency_code": "USD", "permission_organizations": [ … ], "permission_agencies": [ … ] }, "meta": { "status": "success" } }
curl -i -X GET \
https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/marketplaces \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
curl -i -X POST \
https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/marketplaces \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": 0,
"version": 0,
"name": "string",
"supply_type": "string",
"status": true,
"rtb_enabled": true,
"strategy_id": 0,
"code": "string",
"bidder_exchange_identifier": 0,
"rtb_type": "string",
"has_display": true,
"has_mobile_display": true,
"has_video": true,
"has_mobile_video": true,
"requires_creative_audit": true,
"has_desktop_video": true,
"has_connected_tv": true,
"mma_free": true,
"private": true,
"mkt_sell_price": -1,
"mkt_sell_price_currency_code": "USD",
"permission_organizations": [
0
],
"permission_agencies": [
0
]
}'
{ "data": { "id": 0, "version": 0, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "name": "string", "supply_type": "string", "status": true, "rtb_enabled": true, "strategy_id": 0, "code": "string", "bidder_exchange_identifier": 0, "rtb_type": "string", "has_display": true, "has_mobile_display": true, "has_video": true, "has_mobile_video": true, "requires_creative_audit": true, "has_desktop_video": true, "has_connected_tv": true, "mma_free": true, "private": true, "mkt_sell_price": -1, "mkt_sell_price_currency_code": "USD", "permission_organizations": [ … ], "permission_agencies": [ … ] }, "meta": { "status": "success" } }