ตั้งแต่วันที่
8 กันยายน 2025 เป็นต้นไป รายการโฆษณาใหม่ทุกรายการจะต้องประกาศว่าจะแสดงโฆษณาทางการเมืองในสหภาพยุโรป (EU) หรือไม่ การอัปโหลด API ของ Display & Video 360 และ SDF ที่ไม่ได้ระบุการประกาศจะล้มเหลว ดูรายละเอียดเพิ่มเติมเกี่ยวกับวิธีอัปเดตการผสานรวมเพื่อประกาศนี้ได้ที่
หน้าการเลิกใช้งาน
REST Resource: advertisers.locationLists.assignedLocations
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร: AssignedLocation
การกำหนดระหว่างรายการสถานที่ตั้งกับตัวเลือกการกำหนดเป้าหมายที่เกี่ยวข้อง
การแสดง JSON |
{
"name": string,
"assignedLocationId": string,
"targetingOptionId": string
} |
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรของตำแหน่งที่กําหนด
|
assignedLocationId |
string (int64 format)
เอาต์พุตเท่านั้น รหัสที่ไม่ซ้ำกันของตำแหน่งที่กําหนด รหัสจะซ้ำกันเฉพาะภายในรายการสถานที่ตั้งเท่านั้น อาจมีการใช้คำนี้ซ้ำในบริบทอื่นๆ
|
targetingOptionId |
string
ต้องระบุ รหัสของตัวเลือกการกำหนดเป้าหมายที่กำหนดให้กับรายการสถานที่ตั้ง
|
เมธอด |
|
แก้ไขงานหลายรายการระหว่างสถานที่ตั้งและรายการสถานที่ตั้งรายการเดียวพร้อมกัน |
|
สร้างการมอบหมายระหว่างสถานที่ตั้งกับรายการสถานที่ตั้ง |
|
ลบการมอบหมายระหว่างสถานที่ตั้งกับรายการสถานที่ตั้ง |
|
แสดงสถานที่ที่กำหนดให้กับรายการสถานที่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],["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. |"]]