Parametr unii owner. Wymagany. Określa element DV360, do którego należą kanały. Może to być partner lub reklamodawca. owner może być tylko jednym z tych elementów:
Identyfikator reklamodawcy, który jest właścicielem kanałów.
Parametry zapytania
Parametry
pageSize
integer
Żądany rozmiar strony. Wartość musi się mieścić w zakresie 1–200. Jeśli nie podasz żadnej wartości, zostanie użyta wartość domyślna 100. Jeśli podana zostanie nieprawidłowa wartość, zwraca kod błędu INVALID_ARGUMENT.
pageToken
string
Token identyfikujący stronę wyników, którą serwer powinien zwrócić. Zwykle jest to wartość nextPageToken zwrócona z poprzedniego wywołania metody channels.list. Jeśli nie zostanie określony, zwrócona zostanie pierwsza strona wyników.
orderBy
string
Pole, według którego ma być sortowana lista. Akceptowane wartości:
displayName (domyślnie)
channelId
Domyślna kolejność sortowania to rosnąco. Aby określić pole w kolejności malejącej, do nazwy pola należy dodać sufiks „desc”. Przykład: displayName desc.
filter
string
Umożliwia filtrowanie według pól kanału.
Obsługiwana składnia:
Wyrażenia filtra dla kanału mogą zawierać maksymalnie 1 ograniczenie.
Ograniczenie ma postać {field} {operator} {value}.
Wszystkie pola muszą zawierać operator HAS (:).
Obsługiwane pola:
displayName
Przykłady:
Wszystkie kanały, których wyświetlana nazwa zawiera „google”: displayName : "google".
Długość tego pola nie powinna przekraczać 500 znaków.
Parametr unii owner. Wymagany. Określa element DV360, do którego należą kanały. Może to być partner lub reklamodawca. owner może być tylko jednym z tych elementów:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-02-25 UTC."],[[["Lists channels for an advertiser or partner using the `ListChannels` method."],["Requires specifying the owner (either `advertiserId` or `partnerId`) as a path parameter."],["Supports optional query parameters like `pageSize`, `pageToken`, `orderBy`, and `filter` for customizing results."],["Request body should be empty, and the response contains a `ListChannelsResponse` object upon success."],["Needs authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This content outlines the process of listing channels for a partner or advertiser via the Display & Video 360 API. The `GET` request to the specified URL uses path parameters like `advertiserId` to identify the owner. It supports query parameters including `pageSize`, `pageToken`, `orderBy`, and `filter` for pagination, sorting, and filtering. The request body must be empty, and successful requests return a `ListChannelsResponse`. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]