AI-generated Key Takeaways
-
This page details how to retrieve a single targeting option for an advertiser using the Display & Video 360 API.
-
The request is made using an HTTP GET method to a specific URL containing the advertiser ID, targeting type, and assigned targeting option ID.
-
Authorized access with the
https://www.googleapis.com/auth/display-video
scope is required to use this functionality. -
If successful, the response will provide details of the assigned targeting option within an
AssignedTargetingOption
object.
Gets a single targeting option assigned to an advertiser.
HTTP request
GET https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
Required. The ID of the advertiser. |
targetingType |
Required. Identifies the type of this assigned targeting option. Supported targeting types: |
assignedTargetingOptionId |
Required. An identifier unique to the targeting type in this advertiser that identifies the assigned targeting option being requested. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of AssignedTargetingOption
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.