Kể từ ngày 8 tháng 9 năm 2025, mỗi mục hàng mới sẽ cần phải khai báo xem mục hàng đó có phân phát quảng cáo chính trị ở Liên minh Châu Âu (EU) hay không. Display & Video 360 API và các tệp SDF được tải lên mà không cung cấp thông tin khai báo sẽ không thành công. Hãy xem trang thông báo về những nội dung không dùng nữa để biết thêm thông tin về cách cập nhật quy trình tích hợp để đưa ra nội dung khai báo này.
Bắt buộc. Mã của đối tác mà thông qua đó bạn có thể truy cập vào các hoạt động Floodlight.
pageSize
integer
Không bắt buộc. Kích thước trang được yêu cầu. Phải trong khoảng từ 1 đến 100. Nếu bạn không chỉ định thì chế độ mặc định sẽ là 100. Trả về mã lỗi INVALID_ARGUMENT nếu chỉ định một giá trị không hợp lệ.
pageToken
string
Không bắt buộc. Mã thông báo xác định một trang kết quả mà máy chủ sẽ trả về. Thông thường, đây là giá trị của nextPageToken được trả về từ lệnh gọi trước đó đến phương thức floodlightActivities.list. Nếu không được chỉ định, trang kết quả đầu tiên sẽ được trả về.
orderBy
string
Không bắt buộc. Trường mà bạn sẽ dùng để sắp xếp danh sách. Các giá trị được chấp nhận là:
displayName (mặc định)
floodlightActivityId
Thứ tự sắp xếp mặc định là tăng dần. Để chỉ định thứ tự giảm dần cho một trường, hãy thêm hậu tố "desc" phải được thêm vào tên trường. Ví dụ: displayName desc
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Mã thông báo để truy xuất trang kết quả tiếp theo. Truyền giá trị này vào trường pageToken trong lệnh gọi tiếp theo tới phương thức floodlightActivities.list để truy xuất trang kết quả tiếp theo.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eLists Floodlight activities within a specific Floodlight group using the Display & Video 360 API.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the Floodlight group ID and partner ID for retrieval.\u003c/p\u003e\n"],["\u003cp\u003eAllows pagination through results using page size and page tokens.\u003c/p\u003e\n"],["\u003cp\u003eSupports sorting results by display name or Floodlight activity ID.\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,["# Method: floodlightGroups.floodlightActivities.list\n\n| Display \\& Video 360 API v2 has sunset.\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/v2/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/v2/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/v2/floodlightGroups.floodlightActivities#FloodlightActivity) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `floodlightActivities[]` | `object (`[FloodlightActivity](/display-video/api/reference/rest/v2/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/v2/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](https://developers.google.com/identity/protocols/OAuth2)."]]