MediaMath Platform API
MediaMath Platform API
curl -i -X GET \
'https://apidocs.mediamath.com/atomic_creatives/healthcheck?q=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
curl -i -X GET \
https://apidocs.mediamath.com/audience_vendors \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": [ { … } ], "meta": { "status": "success", "count": 100, "total_count": 12011, "offset": 0, "next_page": "string" } }
curl -i -X POST \
https://apidocs.mediamath.com/audience_vendors \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"namespace_code": "string",
"bidder_code": "string",
"vendor_id": 0,
"campaign_brain_enabled": true,
"provides_batch_segments": true,
"mma_free_cm": true,
"pin_top_search": true,
"provider_tax": "string"
}'
{ "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" } }
curl -i -X GET \
'https://apidocs.mediamath.com/audience_vendors/{audience_vendor_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "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" } }
curl -i -X POST \
'https://apidocs.mediamath.com/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": 0,
"campaign_brain_enabled": true,
"provides_batch_segments": true,
"mma_free_cm": true,
"pin_top_search": true,
"provider_tax": "string"
}'
{ "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" } }