С
8 сентября 2025 года в каждой новой позиции необходимо будет указывать, будет ли она показывать политическую рекламу Европейского союза (ЕС). Загрузки через Display & Video 360 API и SDF без таких указаний будут отклонены. Подробнее о том, как обновить интеграцию и указать это указание, см.
на странице «Устаревшие функции».
Method: floodlightGroups.floodlightActivities.list
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Перечисляет действия Floodlight в группе Floodlight.
HTTP-запрос
GET https://displayvideo.googleapis.com/v4/floodlightGroups/{floodlightGroupId}/floodlightActivities
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
floodlightGroupId | string ( int64 format) Необходимый. Идентификатор родительской группы Floodlight, к которой относятся запрошенные действия Floodlight. |
Параметры запроса
Параметры |
---|
partnerId | string ( int64 format) Необходимый. Идентификатор партнера, через которого осуществляется доступ к действиям Floodlight. |
pageSize | integer Необязательный. Запрошенный размер страницы. Должно быть от 1 до 100 . Если не указано, по умолчанию будет 100 . Возвращает код ошибки INVALID_ARGUMENT , если указано недопустимое значение. |
pageToken | string Необязательный. Токен, идентифицирующий страницу результатов, которую должен вернуть сервер. Обычно это значение nextPageToken , возвращенное предыдущим вызовом метода floodlightActivities.list . Если не указано, будет возвращена первая страница результатов. |
orderBy | string Необязательный. Поле, по которому сортируется список. Приемлемые значения: -
displayName (по умолчанию) -
floodlightActivityId
По умолчанию порядок сортировки — по возрастанию. Чтобы указать порядок убывания поля, к имени поля следует добавить суффикс «desc». Пример: displayName desc . |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит данные следующей структуры:
JSON-представление |
---|
{
"floodlightActivities": [
{
object (FloodlightActivity )
}
],
"nextPageToken": string
} |
Поля |
---|
floodlightActivities[] | object ( FloodlightActivity ) Список действий Floodlight. Этот список будет отсутствовать, если он пуст. |
nextPageToken | string Токен для получения следующей страницы результатов. Передайте это значение в поле pageToken при последующем вызове метода floodlightActivities.list , чтобы получить следующую страницу результатов. |
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/display-video
Для получения дополнительной информации см.OAuth 2.0 Overview .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[],["This document details how to list Floodlight activities within a specified Floodlight group using the Display & Video 360 API v4. The `GET` request requires the `floodlightGroupId` and `partnerId` as mandatory parameters. Optional parameters include `pageSize`, `pageToken`, and `orderBy` for pagination and sorting. The response includes a list of `floodlightActivities` and a `nextPageToken` for subsequent page retrieval. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The request body must be empty.\n"],null,["# Method: floodlightGroups.floodlightActivities.list\n\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 - [JSON representation](#body.ListFloodlightActivitiesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists Floodlight activities in a Floodlight group.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/v4/floodlightGroups/{floodlightGroupId}/floodlightActivities`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `floodlightGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the parent Floodlight group to which the requested Floodlight activities belong. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the partner through which the Floodlight activities are being accessed. |\n| `pageSize` | `integer` Optional. Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. |\n| `pageToken` | `string` Optional. A token identifying a page of results the server should return. Typically, this is the value of [nextPageToken](/display-video/api/reference/rest/v4/floodlightGroups.floodlightActivities/list#body.ListFloodlightActivitiesResponse.FIELDS.next_page_token) returned from the previous call to `floodlightActivities.list` method. If not specified, the first page of results will be returned. |\n| `orderBy` | `string` Optional. Field by which to sort the list. Acceptable values are: - `displayName` (default) - `floodlightActivityId` 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\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"floodlightActivities\": [ { object (/display-video/api/reference/rest/v4/floodlightGroups.floodlightActivities#FloodlightActivity) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `floodlightActivities[]` | `object (`[FloodlightActivity](/display-video/api/reference/rest/v4/floodlightGroups.floodlightActivities#FloodlightActivity)`)` The list of Floodlight activities. This list will be absent if empty. |\n| `nextPageToken` | `string` A token to retrieve the next page of results. Pass this value in the [pageToken](/display-video/api/reference/rest/v4/floodlightGroups.floodlightActivities/list#body.QUERY_PARAMETERS.page_token) field in the subsequent call to `floodlightActivities.list` method to retrieve the next page of results. |\n\n### Authorization 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)."]]