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/

Organizations

Organizations

Operations

Agencies

Agencies

Operations

Advertisers

Advertisers

Operations

Campaigns

Campaigns

Operations

Campaigns Budget Flights

Campaigns Budget Flights

Operations

Campaign Plans

Campaign Plans

Operations

Strategies

Strategies

Operations

Strategy Parameters

Strategy Parameters

Operations

Strategy Templates

Strategy Templates

Operations

New Strategy Plans

New Strategy Plans

Operations

Targeting

Targeting

Operations

Targeting Attachments

TargetingAttachments

Operations

Targeting Segments

Targeting Segments

Operations

Targeting Segment Objectives

Targeting Segment Objectives

Operations

Vendor Contracts

Vendor Contracts

Operations

Contracts

Contracts

Operations

Audience Vendors

Audience Vendors

Operations

Vendors

Vendors

Operations

Atomic Creatives

Atomic Creatives

Operations

Concepts

Concepts

Operations

List Concepts

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" } }

Create a Concept

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" } }

Get a Concept

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" } }

Update a Concept

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" } }

Concepts Audit Log

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" } }

Bulk Update Concepts

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(concept_response)
metaobject(pagination metadata)
Response
application/json
{ "data": [ [] ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }

Creatives

Creatives

Operations

Pixel Bundles

Pixel Bundles

Operations

Pixel Providers

Pixel Providers

Operations

Marketplaces

Marketplaces

Operations

Users

Users

Operations

User Permissions

User Permissions

Operations

Enterprise Controls

Enterprise Controls

Operations

General

General

Operations

Currency Rates

Currency Rates

Operations

Site Lists

Site Lists

Operations

Timezones

Timezones

Operations

Verticals

Verticals

Operations

Supply Sources

Supply Sources

Operations

Ad Servers

Ad Servers

Operations

Segment Groups

Segment Groups

Operations