Component Creatives API (1.0)

The terms creative components and native components may be used interchangeably. The front part of the endpoint is:

QA API Base: https://t1qa1.mediamath.com/component_creatives/v1.0/ (or whichever QA server is being used)

Prod API Base: https://t1.mediamath.com/component_creatives/v1.0

Component Creatives are uploaded in the "Creatives Tab" within the Creatives Module, and is where creatives for native campaigns are uploaded.

Languages
Servers

https://t1.mediamath.com/

Component Creatives

Operations

Create a New Creative

Request

Create a new creative

Bodyapplication/json

See below

any
curl -i -X POST \
  https://t1.mediamath.com/component_creatives/v1.0/creatives \
  -H 'Content-Type: application/json'

Responses

Remember, assets have different schema depending on asset type.

Header: Cookie: adama_session={adama_session}

Headers
new1579011858564string
Bodyapplication/json
Response
application/json
{ "data": { "advertiser_id": 100178, "advertiser_name": "Brooklyn Bubblegum Co.", "assets": [], "atomic_creative_id": 3200795, "created_at": "2016-11-17T17:29:39.607Z", "creative_id": 261, "creative_name": "test creative", "end_date": "2016-11-30T00:00:00", "external_identifier": "NA", "last_modified": "2016-11-17T17:30:55", "last_published": "2016-11-17T17:29:39.607Z", "start_date": "2016-09-30T00:00:00", "status": "1", "unpublished": false, "updated_at": "2016-11-17T17:29:39.607Z" }, "meta": { "code": 201, "status": "created", "type": "creative" } }

Get Group Version Info

Request

Get group version info

curl -i -X GET \
  https://t1.mediamath.com/component_creatives/v1.0/version

Responses

Bodyapplication/json
Response
application/json
{ "version": "cfb1074-20190419202430" }

List Creative Approvals

Request

List Creative Approvals

Query
atomic_creative_idsstringrequired

Actually, an integer or comma-delimited list not to exceed 50 items

curl -i -X GET \
  'https://t1.mediamath.com/component_creatives/v1.0/approvals?atomic_creative_ids=string'

Responses

See below

Bodyapplication/json
Response
application/json
{ "data": [ {}, {}, {} ], "meta": { "code": 200, "status": "success", "type": "approvals" } }