自
2025 年 9 月 8 日起,每个新订单项都需要声明是否会投放欧盟 (EU) 政治广告。Display & Video 360 API 和未提供声明的 SDF 上传操作将会失败。如需详细了解如何更新集成以进行此声明,请参阅我们的
弃用页面。
REST Resource: advertisers.locationLists.assignedLocations
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:AssignedLocation
JSON 表示法 |
{
"name": string,
"assignedLocationId": string,
"targetingOptionId": string
} |
字段 |
name |
string
仅限输出。分配的位置的资源名称。
|
assignedLocationId |
string (int64 format)
仅限输出。分配的地理位置的唯一 ID。此 ID 仅在相应位置列表中是唯一的。它可能会在其他上下文中重复使用。
|
targetingOptionId |
string
必需。分配给地理位置列表的定位选项的 ID。
|
方法 |
|
批量修改多个地点与单个地点列表之间的分配。 |
|
在营业地点和营业地点列表之间创建分配。 |
|
删除营业地点与营业地点列表之间的分配。 |
|
列出分配给位置列表的位置。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The Display & Video 360 API v4, currently in beta, features the `AssignedLocation` resource, which manages assignments between location lists and targeting options. Key information includes the resource's name, unique assigned location ID, and the associated targeting option ID. The API supports actions to manage these assignments, including `bulkEdit`, `create`, `delete`, and `list` operations for manipulating location assignments within a location list.\n"],null,["# REST Resource: advertisers.locationLists.assignedLocations\n\n- [Resource: AssignedLocation](#AssignedLocation)\n - [JSON representation](#AssignedLocation.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AssignedLocation\n--------------------------\n\nAn assignment between a location list and a relevant targeting option.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"assignedLocationId\": string, \"targetingOptionId\": string } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the assigned location. |\n| `assignedLocationId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts. |\n| `targetingOptionId` | `string` Required. The ID of the targeting option assigned to the location list. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [bulkEdit](/display-video/api/reference/rest/v4/advertisers.locationLists.assignedLocations/bulkEdit) | Bulk edits multiple assignments between locations and a single location list. |\n| ### [create](/display-video/api/reference/rest/v4/advertisers.locationLists.assignedLocations/create) | Creates an assignment between a location and a location list. |\n| ### [delete](/display-video/api/reference/rest/v4/advertisers.locationLists.assignedLocations/delete) | Deletes the assignment between a location and a location list. |\n| ### [list](/display-video/api/reference/rest/v4/advertisers.locationLists.assignedLocations/list) | Lists locations assigned to a location list. |"]]