MediaMath Platform API
- (Legacy) Update a Target
(Legacy) List Targets
(Legacy) Create a Target
(Legacy) Get a Target
(Legacy) Delete a Target
(Legacy) Update a Target
List targets
Create a Target
Get a Target
Update a Target
Delete a Target
List Target paths
Add and View Targeting
Contextual Segments CPM estimates
Get Frequently Used Contextual Segments
Frequently Used Audience Segments
Audience Segments CPM Estimate
List Technology Target Values
List Contextual Segments
List Path Audience Segments
(Legacy) Update a Target
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/target/{target_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/target/{target_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": { "parent_id": 10, "name": "string", "factual_id": "string", "mediamath_organization_id": 20, "target_inet": "string", "visible": true, "visible_overridden": true, "bidder_frequency": 5, "dimension_code": "string" }, "meta": { "status": "success" } }
- Live Server
https://api.mediamath.com/api/v3.0/target/{target_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.mediamath.com/api/v3.0/target/{target_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"parent_id": 5,
"name": "string",
"factual_id": "string",
"mediamath_organization_id": 55,
"target_inet": "string",
"visible": true,
"visible_overridden": true,
"bidder_frequency": 3,
"dimension_code": "string",
"version": 2
}'
Response
application/json
{ "data": { "parent_id": 10, "name": "string", "factual_id": "string", "mediamath_organization_id": 20, "target_inet": "string", "visible": true, "visible_overridden": true, "bidder_frequency": 5, "dimension_code": "string" }, "meta": { "status": "success" } }
- Live Server
https://api.mediamath.com/api/v3.0/target/{target_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.mediamath.com/api/v3.0/target/{target_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "meta": { "status": "success" } }