- 1 Minute to read
Exchanges
- 1 Minute to read
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 |
---|---|---|
| Specifies the exchange ID. |
|
| Specifies the name of the exchange. |
|
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 |
---|---|---|---|
| Specifies the search term. Use URL encoding conventions (i.e. a space should be replaced with a |
| N |
| Specifies the page number. |
| N |
| Specifies the total number of items to return. Maximum allowed value is |
| N |
| Specifies the column to sort by. |
| N |
| Specifies the sort direction. Allowed values:
|
| 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"
}