MediaMath Platform API
- Create an Audience Vendor
List Audience Vendors
Get an Audience Vendor
Update an Audience Vendor
Create an Audience Vendor
Campaigns API (xx.xx.xx)
Download OpenAPI description
Overview
Languages
Servers
Live Server
https://api.mediamath.com/api/v3.0/
- Live Server
https://api.mediamath.com/api/v3.0/audience_vendors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.mediamath.com/api/v3.0/audience_vendors \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": [ { … } ], "meta": { "status": "success", "count": 100, "total_count": 12011, "offset": 0, "next_page": "string" } }
- Live Server
https://api.mediamath.com/api/v3.0/audience_vendors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mediamath.com/api/v3.0/audience_vendors \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"namespace_code": "string",
"bidder_code": "string",
"vendor_id": 24,
"campaign_brain_enabled": true,
"provides_batch_segments": true,
"mma_free_cm": true,
"pin_top_search": true,
"provider_tax": "string"
}'
Response
application/json
{ "data": { "id": 123, "name": "Vendor Name", "namespace_code": "namespace123", "bidder_code": "bidder123", "vendor_id": 456, "campaign_brain_enabled": true, "provides_batch_segments": true, "mma_free_cm": false, "pin_top_search": true, "provider_tax": "tax123" }, "meta": { "status": "success" } }
- Live Server
https://api.mediamath.com/api/v3.0/audience_vendors/{audience_vendor_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/audience_vendors/{audience_vendor_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": { "id": 123, "name": "Vendor Name", "entity_type": "audience_vendor", "mma_free_cm": true, "updated_on": "2021-01-01T00:00:00Z", "created_on": "2021-01-01T00:00:00Z", "provides_batch_segments": true, "campaign_brain_enabled": true, "pin_top_search": true, "bidder_code": "am", "namespace_code": "5afb12h4" }, "meta": { "status": "success" } }
- Live Server
https://api.mediamath.com/api/v3.0/audience_vendors/{audience_vendor_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.mediamath.com/api/v3.0/audience_vendors/{audience_vendor_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"namespace_code": "string",
"bidder_code": "string",
"vendor_id": 24,
"campaign_brain_enabled": true,
"provides_batch_segments": true,
"mma_free_cm": true,
"pin_top_search": true,
"provider_tax": "string"
}'
Response
application/json
{ "data": { "id": 123, "name": "Updated Vendor Name", "namespace_code": "new_namespace", "bidder_code": "new_bidder", "vendor_id": 456, "campaign_brain_enabled": false, "provides_batch_segments": true, "mma_free_cm": false, "pin_top_search": false, "provider_tax": "new_tax" }, "meta": { "status": "success" } }