Campaigns API (xx.xx.xx)

MediaMath Platform API

Download OpenAPI description
Languages
Servers
Mock server
https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/

Organizations

Organizations

Operations

Agencies

Agencies

Operations

Advertisers

Advertisers

Operations

Campaigns

Campaigns

Operations

Strategies

Strategies

Operations

Targeting

Targeting

Operations

Vendor Contracts

Vendor Contracts

Operations

Strategy Templates

Strategy Templates

Operations

Atomic Creatives

Atomic Creatives

Operations

Concepts

Concepts

Operations

List Concepts

Request

Get a list of concepts

curl -i -X GET \
  https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/concepts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

standard list of entities

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 concept

Request

Create a concept

Bodyapplication/json
versioninteger
namestring[ 1 .. 256 ] charactersrequired
statusboolean
curl -i -X POST \
  https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/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

Path
concept_idintegerrequired

Numeric ID of the concept to get

curl -i -X GET \
  'https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/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

Path
concept_idintegerrequired

Numeric ID of the concept to update

Bodyapplication/json
versionintegerrequired
namestring[ 1 .. 256 ] charactersrequired
statusboolean
curl -i -X POST \
  'https://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/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

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://apidocs.mediamath.com/_mock/apis/campaigns-api/openapi/concepts/{concept_id}/history?page_limit=100&page_offset=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

list of changes to an entity

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

Creatives

Creatives

Operations

Pixel Bundles

Pixel Bundles

Operations

Campaign Plans

Campaign Plans

Operations

Strategy Plans

Strategy Plans

Operations

Bulk Update

Bulk Update

Operations

Marketplaces

Marketplaces

Operations

Users

Users

Operations

Enterprise Controls

Enterprise Controls

Operations

General

General

Operations

Currency Rates

Currency Rates

Operations

Site Lists

Site Lists

Operations

Timezones

Timezones

Operations

Strategy Groups

Strategy Groups

Operations

Strategy Day Parts

Strategy Day Parts

Operations

Strategy Deals

Strategy Deals

Operations

Strategy IP Addresses

Strategy IP Addresses

Operations

Strategy Concepts

Strategy Concepts

Operations

Targeting Segments

Targeting Segments

Operations

Strategy Target Values

Strategy Target Values

Operations

List Organization Settings

Operations

Update Organization Settings

Operations

New Strategy Plans

Operations

Strategy Plan Target Values

Operations

Campaigns Budget Flights

Operations

User Settings

Operations

Update User Settings

Operations

Supply Sources

Operations

Vendors

Operations

Ad Servers

Operations

Site Lists Site Download

Operations

Site Lists Assignments

Operations

Targeting Segment Objectives

Operations

Targeting Segment Objective

Operations