Method: advertisers.targetingTypes.assignedTargetingOptions.get

  • This document provides information about retrieving a single targeting option assigned to an advertiser using the Display & Video 360 API v2.

  • The HTTP request method is GET and the URL follows gRPC Transcoding syntax, requiring advertiser ID, targeting type, and assigned targeting option ID as path parameters.

  • The request body must be empty, and a successful response will contain an instance of AssignedTargetingOption.

  • Authorization requires the https://www.googleapis.com/auth/display-video OAuth scope.

Gets a single targeting option assigned to an advertiser.

HTTP request

GET https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/targetingTypes/{targetingType}/assignedTargetingOptions/{assignedTargetingOptionId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser.

targetingType

enum (TargetingType)

Required. Identifies the type of this assigned targeting option.

Supported targeting types:

assignedTargetingOptionId

string

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.