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

Request

Display the most frequently used audience segments for a given advertiser or campaign.

Security
Auth0
Query
advertiser_idinteger

Numeric ID of the advertiser to filter on

campaign_idinteger

Numeric ID of the campaign to filter on

topinteger

limit of top elements

curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/audience_segments/frequently_used?advertiser_id=0&campaign_id=0&top=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Targeting segment friendly name response

Bodyapplication/json
dataArray of objects or null
metaobject
Response
application/json
{ "data": [ {} ], "meta": { "status": "success" } }

Request

Audience segments CPM estimate

Security
Auth0
Query
extendedboolean

Get extended properties in response

Bodyapplication/json

Audience segments CPM estimate request

currency_codestring= 3 charactersrequired
Example: "USD"
includeArray of objects(audience_segments_group)
excludeobject(audience_segments_group)
curl -i -X POST \
  'https://api.mediamath.com/api/v3.0/audience_segments/cpm_estimate?extended=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "currency_code": "USD",
    "include": [
      {
        "operator": "AND",
        "segments": [
          {
            "audience_segment_id": 0
          }
        ]
      }
    ],
    "exclude": {
      "operator": "AND",
      "segments": [
        {
          "audience_segment_id": 0
        }
      ]
    }
  }'

Responses

Audience segments CPM estimate response

Bodyapplication/json
dataobject
metaobject(single_metadata)
Response
application/json
{ "data": { "cpm": {}, "segments": [] }, "meta": { "status": "success" } }

Request

Get list of technology target values

Security
Auth0
Query
namestring

Case insensitive name contains search

full_pathstring

Case insensitive full_path contains search

dimension_codestringrequired

Comma separated list of dimension codes

sort_bystring

field to sort by (ascending default, prepend '-' for descending)

qstring

common query searching and pattern matching for fields

curl -i -X GET \
  'https://api.mediamath.com/api/v3.0/technology_target_values?name=string&full_path=string&dimension_code=string&sort_by=string&q=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

List technology target values

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

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
Operations
Operations
Operations
Operations
Operations
Operations
Operations