Skip to content

Get Campaign Targetings

Request

Returns a list of a campaign's active targetings. For targetings that the DSP API supports, the response includes full details in the appropriate options field. For unsupported targetings, the response includes only a targeting_type, with no details.

To view these details, log in to the Vistar DSP at trafficking.vistarmedia.com.

Security
SessionCookie
Path
campaign_idstringrequired
curl -i -X GET \
  'https://platform-api.vistarmedia.com/api/dsp/v1/campaigns/{campaign_id}/targetings' \
  -H 'Cookie: YOUR_API_KEY_HERE'

Responses

A successful response.

Bodyapplication/json
targetingsArray of objects(api.dsp.v1.Targeting)
Example:
[ { "deal_targeting_option": { … } }, { "venue_type_targeting_option": { … } }, { "venue_targeting_option": { … } } ]
Response
{ "targetings": [ { … }, { … }, { … } ] }