Skip to content

Get all companions - V3

Request

Get all companion ads for the creative.

Path
creativeIdintegerrequired

Creative ID

curl -i -X GET \
  'https://api.mediamath.com/v3.0/creatives/{creativeId}/companions'

Responses

Companions retrieved successfully

Bodyapplication/json
companionsobject

Map of companion ID (string) to companion details

Response
{ "companions": { "property1": { … }, "property2": { … } } }