Method: partners.targetingTypes.assignedTargetingOptions.create

  • This document outlines the process for assigning a targeting option to a partner using the Display & Video 360 API.

  • The API endpoint requires a POST request with specific path parameters for partner and targeting type.

  • Both request and response bodies utilize the AssignedTargetingOption object for data transfer.

  • Authorization is necessary via OAuth 2.0 with the https://www.googleapis.com/auth/display-video scope.

Assigns a targeting option to a partner. Returns the assigned targeting option if successful.

HTTP request

POST https://displayvideo.googleapis.com/v3/partners/{partnerId}/targetingTypes/{targetingType}/assignedTargetingOptions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
partnerId

string (int64 format)

Required. The ID of the partner.

targetingType

enum (TargetingType)

Required. Identifies the type of this assigned targeting option.

Supported targeting types:

Request body

The request body contains an instance of AssignedTargetingOption.

Response body

If successful, the response body contains a newly created 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.