Exchanges

This article describes services for reading, adding, and updating updating exchanges.

Overview

Exchanges are the supply partners who have established an RTB integration with Oath Ad Platforms DSP.

Endpoint

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

Fields

The Exchange object contains the following fields:

Name Description Type
id ID of the exchange. integer
name Name of the exchange. text

Read Exchanges (All)

To retrieve a list of all exchanges, make a GET call to the /exchanges endpoint.

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

The response will be an array of all the exchanges.

Example Request

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)

To retrieve a filtered list of Exchanges, make a GET call with the supported query parameters.

GET https://dspapi.admanagerplus.yahoo.com/traffic/exchanges?page={page}&limit={limit}&sort={sort}&dir={dir}&query={query}
Name Description Type Required?
page Page number integer N
limit Total number of items to return. Maximum allowed value is 100. integer N
sort Column to sort by text N
dir Sort direction. Valid values: asc, desc text N
query Search term. Use url encoding conventions (i.e. a space should be replaced with a + or %20). text N

The response will be a list of matching Exchanges.

Example Request

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"
}