Authorization and Headers
  • 1 Minute to read

    Authorization and Headers


      Article summary

      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. Refer to the Setup & Access Guide 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:

      Header

      Definition

      Content-Type

      application/json

      X-Auth-Method

      OAuth2

      X-Auth-Token

      <<OAUTH ACCESS TOKEN>>


      Was this article helpful?