AI-generated Key Takeaways
- 
          The bulkEdit method allows for multiple assignments between locations and a single location list to be edited in bulk. 
- 
          This operation first deletes specified assigned locations and then creates new ones as provided in the request. 
- 
          The request requires advertiserIdandlocationListIdas path parameters to identify the relevant resources.
- 
          The request body includes lists of assigned location IDs to be deleted and AssignedLocationresources to be created.
- 
          The response body returns a list of the AssignedLocationresources that were successfully created.
Bulk edits multiple assignments between locations and a single location list.
The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.
HTTP request
POST https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations:bulkEdit
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| advertiserId | 
 Required. The ID of the DV360 advertiser to which the location list belongs. | 
| locationListId | 
 Required. The ID of the location list to which these assignments are assigned. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "deletedAssignedLocations": [
    string
  ],
  "createdAssignedLocations": [
    {
      object ( | 
| Fields | |
|---|---|
| deletedAssignedLocations[] | 
 The IDs of the assigned locations to delete in bulk, specified as a list of  | 
| createdAssignedLocations[] | 
 The assigned locations to create in bulk, specified as a list of  | 
Response body
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "assignedLocations": [
    {
      object ( | 
| Fields | |
|---|---|
| assignedLocations[] | 
 The list of assigned locations 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.