Authorization and Headers

This article describes authentication and authorization configurations required to access and use the DSP Traffic API.

Overview

The Yahoo DSP API uses the OAuth 2.0 protocol as a simple and secure method for handling authentication and controlling access. See DSP Authentication guide for setup instructions.

Headers

curl -X POST "https://dspapi.admanagerplus.yahoo.com/traffic/dictionary"
  -H "Content-Type: application/json"
  -H "X-Auth-Method: OAuth2"
  -H "X-Auth-Token: Shp3CUKR5Q..."

All requests to the DSP Traffic API must contain the following headers:

Table 14 Required Headers

Header

Definition

Content-Type

application/json

X-Auth-Method

OAuth2

X-Auth-Token

<<OAUTH ACCESS TOKEN>>