Skip to content

List Venue Types

Request

Returns the list of venue types available on the platform. This is a global list available to all buyers and publishers.

Security
SessionCookie
Query
page_sizeinteger, (int64)

The maximum number of results to return per page.

pageinteger, (int64)

The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on.

orderstring

The field to sort the results by.

Supported fields: id

ascboolean

Specifies the sort direction. Set to true for ascending order or false for descending order.

filterArray of strings

The field to filter by. You can specify multiple filter parameters.

When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic).

Supported fields: id

searchArray of strings

Performs a substring search on a specified field. The search is case-insensitive.

Supported fields: name

curl -i -X GET \
  'https://platform-api.vistarmedia.com/api/dsp/v1/venue_types?page_size=0&page=0&order=string&asc=true&filter=string&search=string' \
  -H 'Cookie: YOUR_API_KEY_HERE'

Responses

A successful response.

Bodyapplication/json
venue_typesArray of objects(api.dsp.v1.VenueType)
total_sizeinteger, (int64)
Response
{ "venue_types": [ { … } ], "total_size": 0 }