自
2025 年 9 月 8 日起,每個新委刊項都必須聲明是否會放送歐盟政治廣告。如果透過 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。
|
方法 |
|
大量編輯地點和單一地點清單之間的多項指派。 |
|
為位置和位置清單建立指派。 |
|
刪除位置和位置清單之間的對應關係。 |
|
列出指派給地區清單的位置。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]