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

Request

Get a list of concepts

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

Responses

Collection 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

Create a concept

Security
Auth0
Bodyapplication/json
versioninteger
namestring[ 1 .. 256 ] charactersrequired
statusboolean
curl -i -X POST \
  https://api.mediamath.com/api/v3.0/concepts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "version": 0,
    "name": "string",
    "status": true
  }'

Responses

Concept response

Bodyapplication/json
dataobject(concept_response)
metaobject(single_metadata)
Response
application/json
{ "data": { "id": 0, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "entity_type": "string", "atomic_creative_list": [], "version": 0, "name": "string", "status": true }, "meta": { "status": "success" } }

Request

Get a concept by ID

Security
Auth0
Path
concept_idintegerrequired

Numeric ID of the concept to get

curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/concepts/{concept_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Concept response

Bodyapplication/json
dataobject(concept_response)
metaobject(single_metadata)
Response
application/json
{ "data": { "id": 0, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "entity_type": "string", "atomic_creative_list": [], "version": 0, "name": "string", "status": true }, "meta": { "status": "success" } }

Request

Update a concept by ID

Security
Auth0
Path
concept_idintegerrequired

Numeric ID of the concept to update

Bodyapplication/json
versionintegerrequired
namestring[ 1 .. 256 ] charactersrequired
statusboolean
curl -i -X POST \
  'https://api.mediamath.com/api/v3.0/concepts/{concept_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "version": 0,
    "name": "string",
    "status": true
  }'

Responses

Concept response

Bodyapplication/json
dataobject(concept_response)
metaobject(single_metadata)
Response
application/json
{ "data": { "id": 0, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "entity_type": "string", "atomic_creative_list": [], "version": 0, "name": "string", "status": true }, "meta": { "status": "success" } }

Request

Get a list changes to this concept

Security
Auth0
Path
concept_idintegerrequired

Numeric ID of the concept

Query
page_limitinteger[ 1 .. 1000 ]

Number of elements in the collection to retrieve

Example: page_limit=100
page_offsetinteger[ 0 .. 1000 ]

Index of the first element in the collection to retrieve

Example: page_offset=0
curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/concepts/{concept_id}/history?page_limit=100&page_offset=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Audit log 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

Update multiple concepts

Security
Auth0
Bodyapplication/json
conceptsobject
curl -i -X POST \
  https://api.mediamath.com/api/v3.0/bulk_update/concepts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "concepts": {
      "update": [
        {
          "id": 0,
          "status": true
        }
      ]
    }
  }'

Responses

Concepts bulk response

Bodyapplication/json
dataArray of objects
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

Enterprise Controls

Enterprise Controls

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations