Organizations
/
Healthcheck for Atomic Cr...
Campaigns API (3.0.1807)
MediaMath Campaign Management API
Download OpenAPI description
Overview
Languages
Servers
Live Server
https://api.mediamath.com/api/v3.0
Request
This endpoint allows you to preview creative assets before they are permanently uploaded to the system. It validates the files and metadata, returning a preview of what will be created without actually storing the creatives. This is useful for verifying that your files and metadata are correct before committing to the upload.
Security
Auth0(Required scopes:
offline_access
manage:services
)JSON string containing metadata for all files
Example: "https://example.com/clickThrough"
- Live Serverhttps://api.mediamath.com/api/v3.0/creative_draft
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- single_image
- multiple_images
- html5_creative
curl -i -X POST \
https://api.mediamath.com/api/v3.0/creative_draft \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F filename=banner_300x250.jpg \
-F 'metadata[advertiser_id]=100212' \
-F 'metadata[is_https]=true' \
-F 'metadata[submissions][0][name]=banner_300x250.jpg' \
-F 'metadata[submissions][0][click_through_url]=https://example.com/click' \
-F 'metadata[submissions][0][landing_page]=https://example.com/landing' \
-F 'metadata[submissions][0][concept_id]=4157184'Response
application/json
- single_image
- multiple_images
- html5_creative
{ "data": { "uploaded_files": [ … ], "metadata": { … } }, "meta": { "status": "success" } }
Request
Upload creative assets to the system and create atomic creatives. This endpoint processes the uploaded files and metadata, validates them, and stores them permanently in the system. Once uploaded, the creatives can be associated with campaigns and strategies.
Security
Auth0(Required scopes:
offline_access
manage:services
)JSON string containing metadata for all files
Example: "https://example.com/clickThrough"
- Live Serverhttps://api.mediamath.com/api/v3.0/creative_upload
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- single_upload
- multiple_images
- html5_creative_upload
- html5_creative_upload_with_backup
curl -i -X POST \
https://api.mediamath.com/api/v3.0/creative_upload \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F filename=holiday_banner_728x90.jpg \
-F 'metadata[advertiser_id]=100212' \
-F 'metadata[is_https]=true' \
-F 'metadata[submissions][0][name]=holiday_banner_728x90.jpg' \
-F 'metadata[submissions][0][click_through_url]=https://shop.example.com/holiday-sale' \
-F 'metadata[submissions][0][landing_page]=https://shop.example.com/landing/holiday' \
-F 'metadata[submissions][0][concept_id]=1001'Response
application/json
- single_image_upload
- multiple_creatives_upload
{ "data": [ { … } ], "meta": { "status": "success", "count": 1, "total_count": 1, "offset": 0, "next_page": "https://api.mediamath.com/creative_upload?page_offset=0" } }
- Live Serverhttps://api.mediamath.com/api/v3.0/atomic_creatives
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.mediamath.com/api/v3.0/atomic_creatives \
-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" } }
Bodyapplication/json
Enum"IFRAME_SCRIPT_NOSCRIPT""IFRAME_SCRIPT""IFRAME_NOSCRIPT""IFRAME_IMG""SCRIPT_NOSCRIPT""SCRIPT""NOSCRIPT""IFRAME""IMG""VIDEO"
- Live Serverhttps://api.mediamath.com/api/v3.0/atomic_creatives
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mediamath.com/api/v3.0/atomic_creatives \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"width": 80,
"name": "string",
"height": 90,
"creative_import_file_id": 5,
"file_type": "swf",
"is_multi_creative": false,
"has_sound": false,
"rich_media": false,
"rich_media_provider": "string",
"built": false,
"build_date": "string",
"build_errors": "string",
"external_identifier": "string",
"expand": "string",
"expansion_trigger": "AUTOMATIC",
"tpas_ad_tag": "string",
"edited_tag": "string",
"click_through_url": "http://example.com",
"concept_id": 7,
"status": true,
"is_mraid": false,
"is_https": false,
"t1as": false,
"start_date": "string",
"end_date": "string",
"vast_version": 9.9,
"is_audio": true,
"expansion_direction": "NONRESTRICTED",
"media_type": "display",
"ad_server_type": "string",
"ad_format": "DISPLAY",
"approval_status": "PENDING",
"tpas_ad_tag_name": "string",
"click_url": "http://example.com",
"sizmek_tag_status": "NOT_USED",
"sizmek_creative_status": "NOT_USED",
"advertiser_id": 1,
"tag": "string",
"tag_type": "IFRAME_SCRIPT_NOSCRIPT",
"vendor_ids": [
3,
56
]
}'Response
application/json
{ "data": { "id": 0, "version": 0, "entity_type": "string", "advertiser_id": 0, "concept_id": 0, "concept_name": "string", "name": "string", "width": 0, "height": 0, "creative_import_file_id": 0, "file_type": "string", "is_https": true, "is_multi_creative": true, "has_sound": true, "rich_media": true, "rich_media_provider": "string", "status": true, "built": true, "build_date": "string", "built_by_user_id": 0, "build_errors": "string", "created_on": "2019-08-24T14:15:22Z", "last_modified": "string", "external_identifier": "string", "tpas_ad_tag_name": "string", "updated_on": "2019-08-24T14:15:22Z", "expand": "string", "click_url": "string", "ad_format": "string", "expansion_direction": "NONRESTRICTED", "expansion_trigger": "AUTOMATIC", "ad_server_type": "string", "t1as": true, "tpas_ad_tag": "string", "edited_tag": "string", "click_through_url": "string", "rejected_reason": "string", "approval_status": "string", "start_date": "string", "end_date": "string", "media_type": "string", "is_mraid": true, "vast_version": 9.9, "sizmek_tag_status": "string", "sizmek_creative_status": "string", "last_payload_modified": "string", "is_audio": true, "tag": "string", "tag_type": "string", "targeted_strategies": { … }, "atomic_creative_ssl_validators": { … }, "vendors": [ … ], "creative_assets": [ … ] }, "meta": { "status": "success" } }
- Live Serverhttps://api.mediamath.com/api/v3.0/atomic_creatives/{atomic_creative_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/atomic_creatives/{atomic_creative_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "data": { "id": 0, "version": 0, "entity_type": "string", "advertiser_id": 0, "concept_id": 0, "concept_name": "string", "name": "string", "width": 0, "height": 0, "creative_import_file_id": 0, "file_type": "string", "is_https": true, "is_multi_creative": true, "has_sound": true, "rich_media": true, "rich_media_provider": "string", "status": true, "built": true, "build_date": "string", "built_by_user_id": 0, "build_errors": "string", "created_on": "2019-08-24T14:15:22Z", "last_modified": "string", "external_identifier": "string", "tpas_ad_tag_name": "string", "updated_on": "2019-08-24T14:15:22Z", "expand": "string", "click_url": "string", "ad_format": "string", "expansion_direction": "NONRESTRICTED", "expansion_trigger": "AUTOMATIC", "ad_server_type": "string", "t1as": true, "tpas_ad_tag": "string", "edited_tag": "string", "click_through_url": "string", "rejected_reason": "string", "approval_status": "string", "start_date": "string", "end_date": "string", "media_type": "string", "is_mraid": true, "vast_version": 9.9, "sizmek_tag_status": "string", "sizmek_creative_status": "string", "last_payload_modified": "string", "is_audio": true, "tag": "string", "tag_type": "string", "targeted_strategies": { … }, "atomic_creative_ssl_validators": { … }, "vendors": [ … ], "creative_assets": [ … ] }, "meta": { "status": "success" } }
Bodyapplication/json
Enum"IFRAME_SCRIPT_NOSCRIPT""IFRAME_SCRIPT""IFRAME_NOSCRIPT""IFRAME_IMG""SCRIPT_NOSCRIPT""SCRIPT""NOSCRIPT""IFRAME""IMG""VIDEO"
- Live Serverhttps://api.mediamath.com/api/v3.0/atomic_creatives/{atomic_creative_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.mediamath.com/api/v3.0/atomic_creatives/{atomic_creative_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"version": 3,
"external_identifier": "string",
"advertiser_id": 8,
"width": 80,
"height": 90,
"concept_id": 33,
"status": true,
"is_mraid": true,
"is_https": true,
"t1as": true,
"start_date": "string",
"end_date": "string",
"vast_version": 9.9,
"is_audio": true,
"expansion_direction": "NONRESTRICTED",
"expansion_trigger": "AUTOMATIC",
"media_type": "display",
"ad_server_type": "string",
"ad_format": "DISPLAY",
"approval_status": "PENDING",
"tpas_ad_tag": "string",
"tpas_ad_tag_name": "string",
"click_through_url": "http://example.com",
"click_url": "http://example.com",
"edited_tag": "string",
"tag": "string",
"tag_type": "IFRAME_SCRIPT_NOSCRIPT",
"vendor_ids": [
3,
56
]
}'Response
application/json
{ "data": { "id": 0, "version": 0, "entity_type": "string", "advertiser_id": 0, "concept_id": 0, "concept_name": "string", "name": "string", "width": 0, "height": 0, "creative_import_file_id": 0, "file_type": "string", "is_https": true, "is_multi_creative": true, "has_sound": true, "rich_media": true, "rich_media_provider": "string", "status": true, "built": true, "build_date": "string", "built_by_user_id": 0, "build_errors": "string", "created_on": "2019-08-24T14:15:22Z", "last_modified": "string", "external_identifier": "string", "tpas_ad_tag_name": "string", "updated_on": "2019-08-24T14:15:22Z", "expand": "string", "click_url": "string", "ad_format": "string", "expansion_direction": "NONRESTRICTED", "expansion_trigger": "AUTOMATIC", "ad_server_type": "string", "t1as": true, "tpas_ad_tag": "string", "edited_tag": "string", "click_through_url": "string", "rejected_reason": "string", "approval_status": "string", "start_date": "string", "end_date": "string", "media_type": "string", "is_mraid": true, "vast_version": 9.9, "sizmek_tag_status": "string", "sizmek_creative_status": "string", "last_payload_modified": "string", "is_audio": true, "tag": "string", "tag_type": "string", "targeted_strategies": { … }, "atomic_creative_ssl_validators": { … }, "vendors": [ … ], "creative_assets": [ … ] }, "meta": { "status": "success" } }
Security
Auth0(Required scopes:
offline_access
manage:services
)- Live Serverhttps://api.mediamath.com/api/v3.0/atomic_creatives/{atomic_creative_id}/history
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/atomic_creatives/{atomic_creative_id}/history?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" } }
Security
Auth0(Required scopes:
offline_access
manage:services
)- Live Serverhttps://api.mediamath.com/api/v3.0/atomic_creatives/healthcheck
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mediamath.com/api/v3.0/atomic_creatives/healthcheck?q=string' \
-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 Serverhttps://api.mediamath.com/api/v3.0/bulk_update/atomic_creatives
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.mediamath.com/api/v3.0/bulk_update/atomic_creatives \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"atomic_creatives": {
"create": [
{
"width": 80,
"name": "string",
"height": 90,
"creative_import_file_id": 5,
"file_type": "swf",
"is_multi_creative": false,
"has_sound": false,
"rich_media": false,
"rich_media_provider": "string",
"built": false,
"build_date": "string",
"build_errors": "string",
"external_identifier": "string",
"expand": "string",
"expansion_trigger": "AUTOMATIC",
"tpas_ad_tag": "string",
"edited_tag": "string",
"click_through_url": "http://example.com",
"concept_id": 7,
"status": true,
"is_mraid": false,
"is_https": false,
"t1as": false,
"start_date": "string",
"end_date": "string",
"vast_version": 9.9,
"is_audio": true,
"expansion_direction": "NONRESTRICTED",
"media_type": "display",
"ad_server_type": "string",
"ad_format": "DISPLAY",
"approval_status": "PENDING",
"tpas_ad_tag_name": "string",
"click_url": "http://example.com",
"sizmek_tag_status": "NOT_USED",
"sizmek_creative_status": "NOT_USED",
"advertiser_id": 1,
"tag": "string",
"tag_type": "IFRAME_SCRIPT_NOSCRIPT",
"vendor_ids": [
3,
56
]
}
],
"update": [
{
"id": 11,
"name": "string",
"version": 3,
"external_identifier": "string",
"advertiser_id": 8,
"width": 80,
"height": 90,
"concept_id": 33,
"status": true,
"is_mraid": true,
"is_https": true,
"t1as": true,
"start_date": "string",
"end_date": "string",
"vast_version": 9.9,
"is_audio": true,
"expansion_direction": "NONRESTRICTED",
"expansion_trigger": "AUTOMATIC",
"media_type": "display",
"ad_server_type": "string",
"ad_format": "DISPLAY",
"approval_status": "PENDING",
"tpas_ad_tag": "string",
"tpas_ad_tag_name": "string",
"click_through_url": "http://example.com",
"click_url": "http://example.com",
"edited_tag": "string",
"tag": "string",
"tag_type": "IFRAME_SCRIPT_NOSCRIPT",
"vendor_ids": [
3,
56
]
}
]
}
}'Response
application/json
{ "data": [ { … } ], "meta": { "status": "success", "count": 10, "total_count": 100, "offset": 0, "next_page": "string", "prev_page": "string" }, "errors": [ { … } ] }