Od
8 września 2025 r. każdy nowy element zamówienia będzie musiał deklarować, czy będzie wyświetlać reklamy polityczne w Unii Europejskiej (UE). Przesyłanie plików SDF i wywoływanie interfejsu Display & Video 360 API bez deklaracji zakończy się niepowodzeniem. Więcej informacji o tym, jak zaktualizować integrację, aby złożyć to oświadczenie, znajdziesz na naszej
stronie dotyczącej wycofania.
REST Resource: partners.channels
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: kanał
Jeden kanał. Kanały to niestandardowe grupy powiązanych witryn i aplikacji.
Zapis 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 .
} |
Pola |
name |
string
Tylko dane wyjściowe. Nazwa zasobu kanału.
|
channelId |
string (int64 format)
Tylko dane wyjściowe. Unikalny identyfikator kanału. Przypisany przez system.
|
displayName |
string
Wymagane. Wyświetlana nazwa kanału. Musi być zakodowany w formacie UTF-8 i mieć maksymalnie 240 bajtów.
|
positivelyTargetedLineItemCount |
string (int64 format)
Tylko dane wyjściowe. Liczba elementów zamówienia, które są bezpośrednio kierowane na ten kanał i przynoszą pozytywne wyniki.
|
negativelyTargetedLineItemCount |
string (int64 format)
Tylko dane wyjściowe. Liczba elementów zamówienia, które są bezpośrednio kierowane na ten kanał.
|
Pole unii owner . Identyfikuje jednostkę DV360, do której należy kanał. Może to być partner lub reklamodawca. owner może być tylko jednym z tych elementów: |
partnerId |
string (int64 format)
Identyfikator partnera, który jest właścicielem kanału.
|
advertiserId |
string (int64 format)
Identyfikator reklamodawcy, który jest właścicielem kanału.
|
Metody |
|
Tworzy nowy kanał. |
|
Pobiera kanał dla partnera lub reklamodawcy. |
|
Wyświetla listę kanałów partnera lub reklamodawcy. |
|
Aktualizuje kanał. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]