ตั้งแต่วันที่
8 กันยายน 2025 เป็นต้นไป รายการโฆษณาใหม่ทุกรายการจะต้องประกาศว่าจะแสดงโฆษณาทางการเมืองในสหภาพยุโรป (EU) หรือไม่ การอัปโหลด API ของ Display & Video 360 และ SDF ที่ไม่ได้ระบุการประกาศจะล้มเหลว ดูรายละเอียดเพิ่มเติมเกี่ยวกับวิธีอัปเดตการผสานรวมเพื่อประกาศนี้ได้ที่
หน้าการเลิกใช้งาน
REST Resource: partners.channels
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: ช่อง
แชแนลเดียว แชแนลคือกลุ่มเว็บไซต์และแอปที่เกี่ยวข้องซึ่งกําหนดเอง
การแสดง JSON |
{
"name": string,
"channelId": string,
"displayName": string,
"positivelyTargetedLineItemCount": string,
"negativelyTargetedLineItemCount": string,
// Union field owner can be only one of the following:
"partnerId": string,
"advertiserId": string
// End of list of possible types for union field owner .
} |
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรของช่อง
|
channelId |
string (int64 format)
เอาต์พุตเท่านั้น รหัสที่ไม่ซ้ำกันของช่อง กำหนดโดยระบบ
|
displayName |
string
ต้องระบุ ชื่อที่แสดงของช่อง ต้องเข้ารหัส UTF-8 และมีความยาวสูงสุด 240 ไบต์
|
positivelyTargetedLineItemCount |
string (int64 format)
เอาต์พุตเท่านั้น จํานวนรายการโฆษณาที่กําหนดเป้าหมายช่องนี้โดยตรงในเชิงบวก
|
negativelyTargetedLineItemCount |
string (int64 format)
เอาต์พุตเท่านั้น จํานวนรายการโฆษณาที่กําหนดเป้าหมายเชิงลบไปยังแชแนลนี้โดยตรง
|
ฟิลด์สหภาพ owner ระบุเอนทิตี DV360 ที่เป็นเจ้าของช่อง อาจเป็นพาร์ทเนอร์หรือผู้ลงโฆษณาก็ได้ owner ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น |
partnerId |
string (int64 format)
รหัสของพาร์ทเนอร์ที่เป็นเจ้าของช่อง
|
advertiserId |
string (int64 format)
รหัสของผู้ลงโฆษณาที่เป็นเจ้าของช่อง
|
เมธอด |
|
สร้างแชแนลใหม่ |
|
รับช่องสําหรับพาร์ทเนอร์หรือผู้ลงโฆษณา |
|
แสดงรายการช่องสำหรับพาร์ทเนอร์หรือผู้ลงโฆษณา |
|
อัปเดตช่อง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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, in beta, features a \"Channel\" resource representing custom groups of websites and apps. Channels have a unique `channelId`, a `displayName`, and counts of positively/negatively targeted line items. Ownership is defined by either a `partnerId` or `advertiserId`. The API supports creating, retrieving, listing, and updating channels, enabling management of these custom groupings. Key actions are create, get, list, patch.\n"],null,["# REST Resource: partners.channels\n\n- [Resource: Channel](#Channel)\n - [JSON representation](#Channel.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Channel\n-----------------\n\nA single channel. Channels are custom groups of related websites and apps.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"channelId\": string, \"displayName\": string, \"positivelyTargetedLineItemCount\": string, \"negativelyTargetedLineItemCount\": string, // Union field `owner` can be only one of the following: \"partnerId\": string, \"advertiserId\": string // End of list of possible types for union field `owner`. } ``` |\n\n| Fields ||\n|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the channel. |\n| `channelId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The unique ID of the channel. Assigned by the system. |\n| `displayName` | `string` Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes. |\n| `positivelyTargetedLineItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Number of line items that are directly targeting this channel positively. |\n| `negativelyTargetedLineItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Number of line items that are directly targeting this channel negatively. |\n| Union field `owner`. Identifies the DV360 entity that owns the channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the channel. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the channel. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------|---------------------------------------------|\n| ### [create](/display-video/api/reference/rest/v4/partners.channels/create) | Creates a new channel. |\n| ### [get](/display-video/api/reference/rest/v4/partners.channels/get) | Gets a channel for a partner or advertiser. |\n| ### [list](/display-video/api/reference/rest/v4/partners.channels/list) | Lists channels for a partner or advertiser. |\n| ### [patch](/display-video/api/reference/rest/v4/partners.channels/patch) | Updates a channel. |"]]