Campaigns API (xx.xx.xx)
MediaMath Platform API
Download OpenAPI description
Overview
Languages
Servers
Live Server
https://api.mediamath.com/api/v3.0/
Query
Number of elements in the collection to retrieve
Example: page_limit=100
Index of the first element in the collection to retrieve
Example: page_offset=0
The field to sort by. You can use any field name in ascending or descending order. For ascending order, use the field name directly, e.g., id
. For descending order, prefix the field name with a hyphen (-
), e.g., -id
.
Example: sort_by=id, -id, name, -name
Query search for filtering. This parameter can be used to filter results based on various fields.
q=name=:{search}*
to find all results with names starting with "search".q=status==true
to find all active entities.q=id>=1000
to find all entities with id greater than or equal to 1000.q=id==(1,2,3)
find specific entities by ID.
- Live Server
https://api.mediamath.com/api/v3.0/supply_sources
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/supply_sources?page_limit=100&page_offset=0&sort_by=id%2C+-id%2C+name%2C+-name&q=string&full=*' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" } }
- Live Server
https://api.mediamath.com/api/v3.0/supply_sources/{supply_source_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/supply_sources/{supply_source_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": { "id": 0, "version": 0, "name": "string", "supply_type": "string", "status": true, "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "rtb_enabled": true, "mm_safe": true, "pixel_tag": "string", "distribute": true, "use_pool": true, "code": "string", "is_proservice": true, "default_seat_identifier": "string", "seat_enabled": true, "bidder_exchange_identifier": 0, "pmp_enabled": true, "rtb_type": "string", "parent_supply_id": 0, "has_display": true, "has_mobile_display": true, "has_video": true, "has_mobile_video": true, "requires_creative_audit": true, "has_desktop_video": true, "has_connected_tv": true, "attribution_group": "string", "fraud_filter": true, "mma_free": true, "private": true }, "meta": { "status": "success" } }