MediaMath Platform API
- List User Permissions (V2 Format)
List User Permissions
List User Permissions for Entities
List User Permissions for All Organizations
List User Permissions for All Agencies
List User Permissions for All Advertisers
List User Permissions for All Campaigns
List User Permissions for All Strategies
List User Permissions for Entities (V2 Format)
List User Permissions (V2...
Campaigns API (xx.xx.xx)
Download OpenAPI description
Overview
Languages
Servers
Live Server
https://api.mediamath.com/api/v3.0/
- Live Server
https://api.mediamath.com/api/v3.0/permissions/{user_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}?page_limit=100&page_offset=0&organization_id=0&agency_id=0&advertiser_id=0&campaign_id=0&strategy_id=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": { "organizations": [ … ], "agencies": [ … ], "advertisers": [ … ], "campaigns": [ … ], "strategies": [ … ] }, "meta": { "status": "success" } }
Bodyapplication/jsonrequired
- Live Server
https://api.mediamath.com/api/v3.0/permissions/{user_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}?page_limit=100&page_offset=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organizations": [
10
],
"agencies": [
12
],
"advertisers": [
11
],
"campaigns": [
71
],
"strategies": [
17
]
}'
Response
application/json
{ "data": { "organizations": [ … ], "agencies": [ … ], "advertisers": [ … ], "campaigns": [ … ], "strategies": [ … ] }, "meta": { "status": "success" } }
- Live Server
https://api.mediamath.com/api/v3.0/permissions/{user_id}/organizations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/organizations?page_limit=100&page_offset=0' \
-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/permissions/{user_id}/agencies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/agencies?page_limit=100&page_offset=0' \
-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/permissions/{user_id}/advertisers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/advertisers?page_limit=100&page_offset=0' \
-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/permissions/{user_id}/campaigns
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/campaigns?page_limit=100&page_offset=0' \
-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/permissions/{user_id}/strategies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/strategies?page_limit=100&page_offset=0' \
-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/permissions/{user_id}/v2format
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/v2format' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "data": { "flags": { … }, "entities": { … } }, "meta": { "status": "success" } }
- Live Server
https://api.mediamath.com/api/v3.0/permissions/{user_id}/v2format
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.mediamath.com/api/v3.0/permissions/{user_id}/v2format' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organizations": [
5
],
"agencies": [
6
],
"advertisers": [
7
]
}'
Response
application/json
{ "data": { "flags": { … }, "entities": { … } }, "meta": { "status": "success" } }