AI-generated Key Takeaways
-
Display & Video 360 API v2 has sunset.
-
This page provides information on how to retrieve a single targeting option using a GET request.
-
The request requires specifying the
targetingTypeandtargetingOptionIdin the path parameters and theadvertiserIdas a query parameter. -
The response, if successful, will contain an instance of
TargetingOption. -
Authorization requires the
https://www.googleapis.com/auth/display-videoOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Gets a single targeting option.
HTTP request
GET https://displayvideo.googleapis.com/v2/targetingTypes/{targetingType}/targetingOptions/{targetingOptionId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
targetingType |
Required. The type of targeting option to retrieve. Accepted values are:
|
targetingOptionId |
Required. The ID of the of targeting option to retrieve. |
Query parameters
| Parameters | |
|---|---|
advertiserId |
Required. The Advertiser this request is being made in the context of. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of TargetingOption.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.