Kể từ ngày 8 tháng 9 năm 2025, mỗi mục hàng mới sẽ cần phải khai báo xem mục hàng đó có phân phát quảng cáo chính trị ở Liên minh Châu Âu (EU) hay không. Display & Video 360 API và các tệp SDF được tải lên mà không cung cấp thông tin khai báo sẽ không thành công. Hãy xem trang thông báo về những nội dung không dùng nữa để biết thêm thông tin về cách cập nhật quy trình tích hợp để đưa ra nội dung khai báo này.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eDisplay & Video 360 API v2 has been sunset and is no longer supported.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation details the bulk editing process for assigned locations within location lists in Display & Video 360.\u003c/p\u003e\n"],["\u003cp\u003eUsers can delete and create multiple location assignments using the provided \u003ccode\u003ebulkEdit\u003c/code\u003e endpoint and specifying the necessary IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires specifying \u003ccode\u003edeletedAssignedLocations\u003c/code\u003e and \u003ccode\u003ecreatedAssignedLocations\u003c/code\u003e for the operation.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses will include a list of newly created \u003ccode\u003eassignedLocations\u003c/code\u003e, if any.\u003c/p\u003e\n"]]],["This outlines the bulk editing of location assignments using the Display & Video 360 API. It involves sending a `POST` request to a specific URL with the advertiser and location list IDs. The request body specifies which `assignedLocationId` values to delete and which `AssignedLocation` resources to create. The response will contain the `assignedLocations` created. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The v2 API has been sunset.\n"],null,["# Method: advertisers.locationLists.assignedLocations.bulkEdit\n\n| Display \\& Video 360 API v2 has sunset.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BulkEditAssignedLocationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBulk edits multiple assignments between locations and a single location list.\n\nThe operation will delete the assigned locations provided in [deletedAssignedLocations](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/bulkEdit#body.request_body.FIELDS.deleted_assigned_locations) and then create the assigned locations provided in [createdAssignedLocations](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/bulkEdit#body.request_body.FIELDS.created_assigned_locations).\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations:bulkEdit`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the DV360 advertiser to which the location list belongs. |\n| `locationListId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the location list to which these assignments are assigned. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deletedAssignedLocations\": [ string ], \"createdAssignedLocations\": [ { object (/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation) } ] } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deletedAssignedLocations[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The IDs of the assigned locations to delete in bulk, specified as a list of [assignedLocationId](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation.FIELDS.assigned_location_id) values. |\n| `createdAssignedLocations[]` | `object (`[AssignedLocation](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation)`)` The assigned locations to create in bulk, specified as a list of [AssignedLocation](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation) resources. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"assignedLocations\": [ { object (/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation) } ] } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `assignedLocations[]` | `object (`[AssignedLocation](/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation)`)` The list of assigned locations that have been successfully created. This list will be absent if empty. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]