AI-generated Key Takeaways
- 
          Display & Video 360 API v1 has been sunset. 
- 
          This document details how to list targeting options assigned to a campaign for a specified targeting type. 
- 
          The request uses a GET method to a URL specifying the advertiser ID, campaign ID, and targeting type. 
- 
          Path parameters include the required advertiserId, campaignId, and targetingType. 
- 
          Query parameters allow for pagination, sorting, and filtering of the results. 
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists the targeting options assigned to a campaign for a specified targeting type.
HTTP request
GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/campaigns/{campaignId}/targetingTypes/{targetingType}/assignedTargetingOptions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| advertiserId | 
 Required. The ID of the advertiser the campaign belongs to. | 
| campaignId | 
 Required. The ID of the campaign to list assigned targeting options for. | 
| targetingType | 
 Required. Identifies the type of assigned targeting options to list. Supported targeting types: 
 | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Requested page size. Must be between  | 
| pageToken | 
 A token identifying a page of results the server should return. Typically, this is the value of  | 
| orderBy | 
 Field by which to sort the list. Acceptable values are: 
 The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example:  | 
| filter | 
 Allows filtering by assigned targeting option fields. Supported syntax: 
 Supported fields: 
 Examples: 
 The length of this field should be no more than 500 characters. Reference our filter  | 
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for assignedTargetingOptions.list.
| JSON representation | 
|---|
| {
  "assignedTargetingOptions": [
    {
      object ( | 
| Fields | |
|---|---|
| assignedTargetingOptions[] | 
 The list of assigned targeting options. This list will be absent if empty. | 
| nextPageToken | 
 A token identifying the next page of results. This value should be specified as the  | 
Authorization Scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.