- 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/v3/advertisers/{advertiserId}/campaigns/{campaignId}/targetingTypes/{targetingType}/assignedTargetingOptions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiser |
Required. The ID of the advertiser the campaign belongs to. |
campaign |
Required. The ID of the campaign to list assigned targeting options for. |
targeting |
Required. Identifies the type of assigned targeting options to list. Supported targeting types:
|
Query parameters
Parameters | |
---|---|
page |
Requested page size. Must be between |
page |
A token identifying a page of results the server should return. Typically, this is the value of |
order |
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
Response message for assignedTargetingOptions.list
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"assignedTargetingOptions": [
{
object ( |
Fields | |
---|---|
assigned |
The list of assigned targeting options. This list will be absent if empty. |
next |
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.