В каждой новой позиции необходимо указать, будет ли в ней показываться политическая реклама Европейского союза (ЕС). Загрузка через Display & Video 360 API и SDF без таких указаний невозможна. Подробнее см. на странице «Устаревшие» .
Параметр объединения owner . Обязательный. Определяет сущность DV360, которой принадлежат каналы. Это может быть как партнёр, так и рекламодатель. owner может быть только одним из следующих:
Идентификатор партнера, которому принадлежат каналы.
Параметры запроса
Параметры
pageSize
integer
Запрошенный размер страницы. Должен быть от 1 до 200 Если не указан, по умолчанию будет 100 Возвращает код ошибки INVALID_ARGUMENT если указано недопустимое значение.
pageToken
string
Токен, идентифицирующий страницу результатов, которую должен вернуть сервер. Обычно это значение nextPageToken , возвращаемое предыдущим вызовом метода channels.list . Если не указано иное, будет возвращена первая страница результатов.
orderBy
string
Поле для сортировки списка. Допустимые значения:
displayName (по умолчанию)
channelId
По умолчанию сортировка выполняется по возрастанию. Чтобы задать сортировку по убыванию, к имени поля следует добавить суффикс «desc». Пример: displayName desc .
filter
string
Позволяет фильтровать по полям канала.
Поддерживаемый синтаксис:
Выражения фильтра для канала могут содержать не более одного ограничения.
Ограничение имеет форму {field} {operator} {value} .
Во всех полях необходимо использовать оператор HAS (:) .
Поддерживаемые поля:
displayName
Примеры:
Все каналы, отображаемое имя которых содержит «google»: displayName : "google" .
Длина этого поля должна быть не более 500 символов.
Более подробную информацию можно получить, воспользовавшись нашим руководством по запросам LIST фильтров .
Параметр объединения owner . Обязательный. Определяет сущность DV360, которой принадлежат каналы. Это может быть как партнёр, так и рекламодатель. owner может быть только одним из следующих:
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-09-09 UTC."],[[["\u003cp\u003eLists channels owned by either a partner or an advertiser in Display & Video 360.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering and sorting of channels by various criteria such as display name and channel ID.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to retrieve large result sets in manageable chunks.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["| Display \\& Video 360 API v3 is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists channels for a partner or advertiser.\n\nHTTP request\n\n`GET https://displayvideo.googleapis.com/v3/partners/{partnerId}/channels`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the channels. 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 channels. |\n\nQuery parameters\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. |\n| `pageToken` | `string` A token identifying a page of results the server should return. Typically, this is the value of [nextPageToken](/display-video/api/reference/rest/v3/ListChannelsResponse#FIELDS.next_page_token) returned from the previous call to `channels.list` method. If not specified, the first page of results will be returned. |\n| `orderBy` | `string` Field by which to sort the list. Acceptable values are: - `displayName` (default) - `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`. |\n| `filter` | `string` Allows filtering by channel fields. Supported syntax: - Filter expressions for channel can only contain at most one restriction. - A restriction has the form of `{field} {operator} {value}`. - All fields must use the `HAS (:)` operator. Supported fields: - `displayName` Examples: - All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information. |\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the channels. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the channels. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body contains an instance of [ListChannelsResponse](/display-video/api/reference/rest/v3/ListChannelsResponse).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]