--- title: "DOOH Venue Types" slug: "dooh-venue-types" updated: 2024-09-25T00:13:02Z published: 2024-09-25T00:13:02Z canonical: "help.yahooinc.com/dooh-venue-types" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.yahooinc.com/llms.txt > Use this file to discover all available pages before exploring further. # DOOH Venue Types Targeting *This article describes resources that enable you to read and write DOOH Venue Types targeting.* ## Overview You can target DOOH lines (Display or Video) using a list of DOOH Venue Types. To learn more, refer to [Digital Out Of Home (DOOH)](/dsp-api/docs/digital-out-of-home). ## Endpoint ```plaintext /traffic/lines/{id}/targeting ``` - A `GET` request enables you to view DOOH Venue Types targeted by the specified line. - A `POST` request enables you to target DOOH Venue Types 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_VENUE_TYPES` targeting type-specific fields: | **Parameter** | **Parameter Type** | **Description** | **Data Type** | **Required** | | --- | --- | --- | --- | --- | | `id` | path | Specifies the line ID. | `integer` | Y | | `doohVenueTypes` | body | Specifies the IDs of the DOOH venue types targeted. | `array` | Y | | `types` | body | Specifies an array of targeting types to update, enable, or disable. `DOOH_VENUE_TYPE` targeting type must be specified to apply the changes. To learn more, refer to [Targeting Types](/dsp-api/docs/about-targeting). | `array` | Y | > [!NOTE] > Note > > For a complete list of `targeting` resource fields, refer to [Targeting Object](/dsp-api/docs/about-targeting). ## Add/Update DOOH Venue Types Targeting Add or update DOOH venue types targeting for the specified line. ```plaintext 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 ```plaintext POST https://dspapi.admanagerplus.yahoo.com/traffic/lines/2146923/targeting ``` #### Example Request Body ```plaintext {  "doohVenueTypes": [    101  ],  "types": [    {      "name": "DOOH_VENUE_TYPE",      "isTargeted": true    }  ] } ``` #### Example Response ```plaintext {  "response": {    "types": [      {        "name": "DOOH_VENUE_TYPE",        "isTargeted": true      }    ],    "doohVenueTypes": [      {        "id": 101,        "label": "Airports"      }    ],  }  "errors": null,  "timeStamp": "2022-08-28T09:01:25.112Z" } ``` ## Read DOOH Venue Types Targeting Reads DOOH venue types targeting for the specified line. ```plaintext GET traffic/lines/{id}/targeting ``` ### Parameters The line ID is specified in the path of the URL. #### Example Request URL ```plaintext GET https://dspapi.admanagerplus.yahoo.com/traffic/lines/2146923/targeting ``` #### Example Response ```plaintext {  "response": {    "types": [      {        "name": "DOOH_VENUE_TYPE",        "isTargeted": true      }    ],    "doohVenueTypes": [      {        "id": 101,        "label": "Airports"      }    ],  }  "errors": null,  "timeStamp": "2022-08-28T09:01:25.112Z" } ``` ### Additional Resources [About Targeting](/dsp-api/docs/about-targeting)