Method: advertisers.campaigns.targetingTypes.assignedTargetingOptions.get

  • Display & Video 360 API v3 is no longer supported; use v4 instead.

  • This page describes how to get a single targeting option assigned to a campaign using a GET request.

  • Required path parameters for the request include advertiser ID, campaign ID, targeting type, and assigned targeting option ID.

  • The request body must be empty, and the response body contains an instance of AssignedTargetingOption.

  • The request requires the https://www.googleapis.com/auth/display-video OAuth scope for authorization.

Gets a single targeting option assigned to a campaign.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser the campaign belongs to.

campaignId

string (int64 format)

Required. The ID of the campaign the assigned targeting option belongs to.

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 campaign 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.