AI-generated Key Takeaways
- 
          Display & Video 360 API v1 has been sunset. 
- 
          This operation allows bulk edits to targeting options under a single partner by deleting existing options and then creating new ones. 
- 
          The request body for bulk editing targeting options includes arrays for both delete and create requests. 
- 
          The response body will contain a list of the successfully created assigned targeting options. 
- 
          The https://www.googleapis.com/auth/display-videoOAuth scope is required for authorization.
Bulk edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
HTTP request
POST https://displayvideo.googleapis.com/v1/partners/{partnerId}:bulkEditPartnerAssignedTargetingOptions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| partnerId | 
 Required. The ID of the partner. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "deleteRequests": [ { object ( | 
| Fields | |
|---|---|
| deleteRequests[] | 
 The assigned targeting options to delete in batch, specified as a list of  Supported targeting types: | 
| createRequests[] | 
 The assigned targeting options to create in batch, specified as a list of  Supported targeting types: | 
Response body
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "createdAssignedTargetingOptions": [
    {
      object ( | 
| Fields | |
|---|---|
| createdAssignedTargetingOptions[] | 
 The list of assigned targeting options that have been successfully created. This list will be absent if empty. | 
Authorization Scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.