MediaMath Platform API
MediaMath Platform API
curl -i -X GET \
https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/healthcheck \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "build_version": "string", "database_connection": true, "latency": "string", "node_conns": { "acquired": 0, "constucting": 0, "idle": 0 }, "node_max_conns": 0, "node_total_cons": 0 }
curl -i -X GET \
https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/roles \
-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 GET \
'https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/search?active_only=true&limit=10&name=string&terminated=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": { "organizations": [ … ], "agencies": [ … ], "advertisers": [ … ] }, "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
curl -i -X GET \
'https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/target_values?name=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }