Exchanges

This article describes services for viewing a list of exchanges.

Overview

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

Endpoint

/traffic/exchanges

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

Resources

Exchange

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}

All of the accepted parameters are query parameters.

Parameters

Parameter

Description

Data Type

Required

query

Specifies the search term.

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

string

N

page

Specifies the page number.

integer

N

limit

Specifies the total number of items to return. Maximum allowed value is 100.

integer

N

sort

Specifies the column to sort by.

string

N

dir

Specifies the sort direction. Allowed values:

  • ASC: data is sorted in ascending order.

  • DESC: data is sorted in descending 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"
}