Exchanges

This article describes services for viewing a list of exchanges.

Overview

Exchanges are the supply partners who have established an RTB integration with Verizon Media DSP.

Endpoint

/traffic/exchanges

Use the GET HTTP method to view the current list of exchanges.

Resources

The Exchange object contains the following fields:

Field Description Data Type
id Specifies the exchange ID. integer
name Specifies the name of the exchange. string

Read Exchanges (All)

Get a list of all exchanges.

GET /traffic/exchanges

Example Request URL

GET https://dspapi.admanagerplus.yahoo.com/traffic/exchanges

Example Response (Partial)

{
  "response": [
    {
      "id": 1,
      "name": "MoPub"
    },
    {
      "id": 2,
      "name": "ONE by AOL: Mobile"
    }
  ],
  "errors": null,
  "timeStamp": "2017-04-24T20:35:01Z"
}

Read Exchanges (Filtered)

Get a filtered list of exchanges.

GET /traffic/exchanges?query={query}&page={page}&limit={limit}&sort={sort}&dir={dir}
Parameter Parameter Type Description Data Type Required
query query

Specifies the search term.

Use URL encoding conventions (i.e. a space should be replaced with a + or %20).

string N
page query Specifies the page number. integer N
limit query Specifies the total number of items to return. Maximum allowed value is 100. integer N
sort query Specifies the column to sort by. string N
dir query

Specifies the sort direction. Allowed values:

  • ASC: data is sorted in ascending order.
  • DESC: data is sorted in decending order.
string N

Example Request URL

GET https://dspapi.admanagerplus.yahoo.com/traffic/exchanges?query=Pub&limit=2

Example Response

{
  "response": [
    {
      "id": 1,
      "name": "MoPub"
    },
    {
      "id": 6,
      "name": "Pubmatic"
    }
  ],
  "errors": null,
  "timeStamp": "2017-04-25T00:47:19Z"
}