AI-generated Key Takeaways
-
This documentation details how to get a single targeting option using the Display & Video 360 API.
-
The request requires specifying the
targetingType
andtargetingOptionId
as path parameters, along with theadvertiserId
as a query parameter. -
A successful response will return a
TargetingOption
object containing the details of the requested targeting option. -
You need the
https://www.googleapis.com/auth/display-video
OAuth scope to authorize this request.
- 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.