Skip to content

Campaigns API (xx.xx.xx)

MediaMath Platform API

Download OpenAPI description
Languages
Servers
Live Server

https://api.mediamath.com/api/v3.0/

Operations
Operations
Operations
Operations

Campaigns Budget Flights

Campaigns Budget Flights

Operations
Operations
Operations

Strategy Parameters

Strategy Parameters

Operations

Strategy Templates

Strategy Templates

Operations

New Strategy Plans

New Strategy Plans

Operations
Operations

Targeting Attachments

TargetingAttachments

Operations

Targeting Segments

Targeting Segments

Operations

Targeting Segment Objectives

Targeting Segment Objectives

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Enterprise Controls

Enterprise Controls

Operations
Operations

Request

Health endpoint to check availability

Security
Auth0
curl -i -X GET \
  https://api.mediamath.com/api/v3.0/healthcheck \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Health check response

Bodyapplication/json
build_versionstring
database_connectionboolean
latencystring
node_connsobject
node_max_connsinteger
node_total_consinteger
Response
application/json
{ "build_version": "string", "database_connection": true, "latency": "string", "node_conns": { "acquired": 0, "constucting": 0, "idle": 0 }, "node_max_conns": 0, "node_total_cons": 0 }

Request

Get list of roles

Security
Auth0
curl -i -X GET \
  https://api.mediamath.com/api/v3.0/roles \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

List roles response

Bodyapplication/json
dataArray of objects or null
metaobject(pagination metadata)
Response
application/json
{ "data": [ {} ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }

Request

Search organizations, agencies or advertisers by name

Security
Auth0
Query
limitinteger<= 1000

number of elements in the collection to retrieve

Default 10
namestringrequired

search term

active_onlyboolean

only show active entities

terminatedboolean

show terminated entities

curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/search?limit=10&name=string&active_only=true&terminated=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Search result

Bodyapplication/json
dataobject
metaobject(pagination metadata)
Response
application/json
{ "data": { "organizations": [], "agencies": [], "advertisers": [] }, "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }

Request

Get list of target values

Security
Auth0
Query
namestring

Search name

curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/target_values?name=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

List target values response

Bodyapplication/json
dataArray of objects or null
metaobject(pagination metadata)
Response
application/json
{ "data": [ {} ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
Operations
Operations
Operations
Operations
Operations
Operations
Operations