MediaMath Platform API
Campaigns API (xx.xx.xx)
Download OpenAPI description
Overview
Languages
Servers
Live Server
https://api.mediamath.com/api/v3.0/
- Live Serverhttps://api.mediamath.com/api/v3.0/marketplaces/{marketplace_id} 
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/marketplaces/{marketplace_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": { "id": 33, "version": 3, "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": 5, "code": "string", "bidder_exchange_identifier": 8, "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" } }
- Live Serverhttps://api.mediamath.com/api/v3.0/marketplaces/{marketplace_id} 
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
  'https://api.mediamath.com/api/v3.0/marketplaces/{marketplace_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "version": 3,
    "name": "string",
    "supply_type": "string",
    "status": true,
    "rtb_enabled": true,
    "strategy_id": 5,
    "code": "string",
    "bidder_exchange_identifier": 8,
    "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": [
      7
    ],
    "permission_agencies": [
      9
    ]
  }'Response
application/json
{ "data": { "id": 33, "version": 3, "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": 5, "code": "string", "bidder_exchange_identifier": 8, "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" } }
- Live Serverhttps://api.mediamath.com/api/v3.0/marketplaces 
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
  https://api.mediamath.com/api/v3.0/marketplaces \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
- Live Serverhttps://api.mediamath.com/api/v3.0/marketplaces 
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
  https://api.mediamath.com/api/v3.0/marketplaces \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "supply_type": "string",
    "status": true,
    "rtb_enabled": true,
    "strategy_id": 5,
    "code": "string",
    "bidder_exchange_identifier": 8,
    "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": [
      7
    ],
    "permission_agencies": [
      9
    ]
  }'Response
application/json
{ "data": { "id": 33, "version": 3, "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": 5, "code": "string", "bidder_exchange_identifier": 8, "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" } }