AI-generated Key Takeaways
-
Display & Video 360 API v3 is no longer supported; use v4 instead.
-
The method lists targeting options assigned to a partner.
-
The API uses a GET request with partnerId and targetingType as required path parameters.
-
Optional query parameters include pageSize, pageToken, orderBy, and filter.
-
The response body contains a list of assigned targeting options and a nextPageToken for pagination.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the targeting options assigned to a partner.
HTTP request
GET https://displayvideo.googleapis.com/v3/partners/{partnerId}/targetingTypes/{targetingType}/assignedTargetingOptions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
partnerId |
Required. The ID of the partner. |
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:
| 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.