Marketplaces API V2.0 API (2.0)

Download OpenAPI description
Overview
Languages
Servers
https://api.mediamath.com/deals/v1.0/

Private Marketplace Exchange (PMP-E)

Private Marketplace Direct (PMP-E)

Operations

Get Deal Groups

Request

Get a Deal Group's Details

Path
idintegerrequired

_

Headers
Authorizationstring

Authorization

curl -i -X GET \
  'https://api.mediamath.com/deals/v1.0/deal_groups/{id}' \
  -H 'Authorization: string'

Responses

Body
dataobject
metaobject
Response
No response example

Update Deal Groups

Request

Update a Deal Group's Details

Deal Groups are a feature that will allow you and your team to package individual deals into groups. This should streamline targeting, improve marketability (ex. creating a viewability deal group), and simplify bulk updating of strategies targeting deals.

Deal Groups Ownership and Targeting Permissions: Like deals, ownership of a Deal Group cannot change once it is created. There are no targeting permissions set within a deal group. Deal Groups instead honor the targeting permissions of the deals within them.

Path
idintegerrequired

_

Headers
Content-Typestringrequired

_

Cookiestringrequired

_

Body

_

namestring
statusboolean
deal_idsArray of integers
descriptionstring
ownerobject
curl -i -X POST \
  'https://api.mediamath.com/deals/v1.0/deal_groups/{id}' \
  -H 'Content-Type: application/javascript' \
  -H 'Cookie: string' \
  -d '[object Object]'

Responses

Body
dataobject
metaobject
Response
No response example

Create publisher

Request

Publishers

Information about PMP-D from the T1 side can be found here

A video explainer on publisher management through the MediaMath app can be found at: https://academy.mediamath.com/mediamath-beta-courses?next=%2Fmediamath-beta-courses%2F800806

Body

_

organization_idintegerrequired

ID of the organization to associate the publisher with

namestring<= 64 charactersrequired

Name of the publisher (64 character maximum)

curl -i -X POST \
  https://api.mediamath.com/deals/v1.0/publishers \
  -H 'Content-Type: application/javascript' \
  -d '[object Object]'

Responses

Body
metaobject
dataobject
Response
No response example