Wyświetla listę źródeł zasobów reklamowych, które są dostępne dla bieżącego użytkownika.
Kolejność jest określana przez parametr orderBy. Jeśli wartość filter w związku entityStatus nie jest określona, źródła zasobów reklamowych o stanie elementu ENTITY_STATUS_ARCHIVED nie zostaną uwzględnione w wynikach.
Żądanie HTTP
GET https://displayvideo.googleapis.com/v1/inventorySources
Żądany rozmiar strony. Wymagana wartość z zakresu od 1 do 200. Jeśli nie określono inaczej, domyślna wartość to 100.
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 inventorySources.list. Jeśli nie określono tego ustawienia, zostanie zwrócona pierwsza strona wyników.
orderBy
string
Pole, według którego lista ma być sortowana. Akceptowane wartości:
displayName (domyślnie)
Domyślna kolejność sortowania to rosnąco. Aby określić kolejność malejącą w polu, dodaj sufiks „desc” . Na przykład: displayName desc.
filter
string
Umożliwia filtrowanie według pól źródła zasobów reklamowych.
Obsługiwana składnia:
Wyrażenia filtra składają się z co najmniej jednego ograniczenia.
Ograniczenia mogą być łączone za pomocą operatorów logicznych AND lub OR. Sekwencja ograniczeń domyślnie używa funkcji AND.
Ograniczenie ma postać {field} {operator} {value}.
Wszystkie pola muszą używać operatora EQUALS (=).
Obsługiwane pola:
status.entityStatus
commitment
deliveryMethod
rateDetails.rateType
exchange
Przykłady:
Wszystkie aktywne źródła zasobów reklamowych: status.entityStatus="ENTITY_STATUS_ACTIVE"
Źródła zasobów reklamowych należące do giełd Google Ad Manager lub Rubicon: exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"
Długość tego pola nie powinna przekraczać 500 znaków.
Parametr sumy accessor. Wymagane. Określa, do której jednostki DV360 jest wysyłane żądanie. Żądanie LIST zwróci tylko te elementy źródła zasobów reklamowych, które są dostępne dla elementu DV360 określonego w polu accessor. accessor może mieć tylko jedną z tych wartości:
Jeśli lista będzie pusta, nie będzie ona dostępna.
nextPageToken
string
Token do pobrania następnej strony wyników. Przekaż tę wartość w polu pageToken w kolejnym wywołaniu metody inventorySources.list, aby pobrać następną stronę wynikó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: 2024-09-12 UTC."],[[["Lists inventory sources accessible to the current user, ordered by `orderBy` parameter and excluding archived sources unless specified in the `filter`."],["The API request is a `GET` request to `https://displayvideo.googleapis.com/v1/inventorySources` with optional query parameters for pagination, sorting, and filtering."],["Request body should be empty, and the response will contain a list of inventory sources and a token for retrieving the next page of results."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This document details how to use the Display & Video 360 API to list accessible inventory sources. Users send a `GET` request to the specified URL, with optional query parameters for `pageSize`, `pageToken`, `orderBy`, and `filter`, to refine the results. The request must identify the accessible DV360 entity via the required union parameter `accessor` which can be a `partnerId` or `advertiserId`. The response contains a list of `inventorySources` and a `nextPageToken` for pagination. Archived inventory sources are excluded unless specified by a filter. The request body must be empty, and authorization requires a specific OAuth scope.\n"]]