Skip to content

Get Venue by ID

Request

Get a Venue by ID

Security
SessionCookie
Path
idstringrequired
curl -i -X GET \
  'https://platform-api.vistarmedia.com/api/dsp/v1/venues/{id}' \
  -H 'Cookie: YOUR_API_KEY_HERE'

Responses

A successful response.

Bodyapplication/json
idstring
Example:"5Ft4mKQDRJiGs7h9P1vY2A"
namestring

A unique name for the venue, provided by the media owner.

Example:"JFK Airport"
venue_type_idstring

An ID representing the venue's venue type.

Example:"101"
publisher_idstring

The ID of the venue's publisher (media owner).

Example:"kxYItBGFSsCtRbK6j0usXw"
publisher_namestring

The name of the venue’s publisher (media owner).

Example:"Some Publisher Name"
latitudestring

The latitude of the venue.

Example:"40.641300"
longitudestring

The longitude of the venue.

Example:"-73.778100"
region_codestring

The country or territory of the venue.

The value is an ISO 3166-1 alpha-2 two-letter country code (for example, US, CA, or GB).

Example:"US"
venue_targeting_idstring

The targeting ID for the venue. Use it to target the venue through the DSP API or within the platform.

Example:"juIGaOygS0CBBqtmXHamqA-Venue007"
image_urlstring

An optional image of the venue, provided by the media owner.

Example:"https://example.com/venue.jpg"
Response
{ "id": "5Ft4mKQDRJiGs7h9P1vY2A", "name": "JFK Airport", "venue_type_id": "101", "publisher_id": "kxYItBGFSsCtRbK6j0usXw", "publisher_name": "Some Publisher Name", "latitude": "40.641300", "longitude": "-73.778100", "region_code": "US", "venue_targeting_id": "juIGaOygS0CBBqtmXHamqA-Venue007", "image_url": "https://example.com/venue.jpg" }