AI-generated Key Takeaways
- 
          This API endpoint lists assigned targeting options for a campaign across various targeting types. 
- 
          The API request uses a GET method with specific advertiser and campaign IDs in the path. 
- 
          Query parameters such as pageSize,pageToken,orderBy, andfiltercan be used to refine the results.
- 
          The request body should be empty. 
- 
          The response includes a list of assigned targeting options and a token for pagination. 
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Lists assigned targeting options of a campaign across targeting types.
HTTP request
GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/campaigns/{campaignId}:bulkListCampaignAssignedTargetingOptions
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. | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Requested page size. The size must be an integer between  | 
| pageToken | 
 A token that lets the client fetch the next page of results. 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 campaigns.bulkListCampaignAssignedTargetingOptions.
| 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.