DOOH Screen Owners Targeting
  • 2 Minutes to read

    DOOH Screen Owners Targeting


      Article summary

      This article describes resources that enable you to read and write DOOH Screen Owner targeting.

      Overview

      You can target DOOH lines (Display or Video) using a list of DOOH Screen Owners. To learn more, refer to Digital Out Of Home (DOOH).

      Endpoint

      /traffic/lines/{id}/targeting
      • A GET request enables you to view DOOH Screen Owners targeted by the specified line.

      • A POST request enables you to target DOOH Screen Owners with the specified line.

      Resources

      The targeting resource is the standard Yahoo DSP resource for targeting consumers based on their profiles, behaviors, and ad content.

      The targeting resource is defined by the following DOOH_SCREEN_OWNERS targeting type-specific fields:

      Parameter

      Parameter Type

      Description

      Data Type

      Required

      id

      path

      Specifies the line ID.

      integer

      Y

      doohScreenOwners

      body

      Specifies the IDs of the DOOH Screen owners targeted.

      array

      Y

      types

      body

      Specifies an array of targeting types to update, enable, or disable.

      DOOH_SCREEN_OWNERS targeting type must be specified to apply the changes.

      To learn more, refer to Targeting Types.

      array

      Y

      Note

      For a complete list of targeting resource fields, refer to Targeting Object.

      Add/Update DOOH Screen Owners Targeting

      Add or update DOOH screens owners targeting for the specified line.

      POST traffic/lines/{id}/targeting/

      Parameters

      The line ID is specified in the path of the URL. All other parameters are specified in the body of the application/json payload.

      Example Request URL

      POST https://dspapi.admanagerplus.yahoo.com/traffic/lines/365277/targeting/

      Example Request Body

      {
        "doohScreenOwners": [
          1,3
        ],
        "types": [
          {
            "name": "DOOH_SCREEN_OWNERS",
            "isTargeted": true
          }
        ]
      }

      Example Response

      {
        "response": {
          "types": [
            {
              "name": "DOOH_SCREEN_OWNERS",
              "isTargeted": true
            }
          ],
          "doohScreenOwners": [
            {
               "id" : 1,
               "name" : "AdTower"
            },
            {
               "id" : 3,
              "name": "A LOT Media"
            }
          ],
          "errors": null,
          "timeStamp": "22022-05-12T01:57:40Z"
        }
      }

      Read DOOH Screen Owners Targeting

      Reads DOOH screens owners targeting for the specified line.

      GET traffic/lines/{id}/targeting/

      Parameters

      The line ID is specified in the path of the URL.

      Example Request URL

      GET https://dspapi.admanagerplus.yahoo.com/traffic/lines/365277/targeting/

      Example Response

      {
        "response": {
          "types": [
            {
              "name": "DOOH_SCREEN_OWNERS",
              "isTargeted": true
            }
          ],
          "doohScreenOwners": [
            {
               "id" : 1,
               "name" : "AdTower"
            },
            {
               "id" : 3,
              "name": "A LOT Media"
            }
          ],
          "errors": null,
          "timeStamp": "22022-05-12T01:57:40Z"
        }
      }

      Additional Resources

      About Targeting


      Was this article helpful?