Reports: listreports
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pobiera przechowywane raporty.
Wypróbuj
Żądanie
Żądanie HTTP
GET https://www.googleapis.com/doubleclickbidmanager/v1.1/queries/queryId/reports
Parametry
Nazwa parametru |
Wartość |
Opis |
Parametry ścieżki |
queryId |
long |
Identyfikator zapytania, z którym powiązane są raporty.
|
Opcjonalne parametry zapytania |
pageSize |
integer |
Maksymalna liczba wyników na stronie. Wymagana wartość z zakresu od 1 do
100 Jeśli nie określono inaczej, domyślna wartość to 100 .
|
pageToken |
string |
Opcjonalny token podziału na strony.
|
Autoryzacja
To żądanie wymaga autoryzacji w tym zakresie:
Zakres |
https://www.googleapis.com/auth/doubleclickbidmanager |
Więcej informacji znajdziesz na stronie dotyczącej uwierzytelniania i autoryzacji.
Treść żądania
Nie podawaj treści żądania przy użyciu tej metody.
Odpowiedź
Jeśli operacja się uda, metoda zwróci odpowiedź o następującej strukturze:
{
"kind": "doubleclickbidmanager#listReportsResponse",
"reports": [
reports Resource
],
"nextPageToken": string
}
Nazwa usługi |
Wartość |
Opis |
Uwagi |
reports[] |
list |
Pobrane raporty. |
|
kind |
string |
Określa rodzaj danego zasobu. Wartość: ustalony ciąg znaków "doubleclickbidmanager#listReportsResponse" . |
|
nextPageToken |
string |
Token podziału na strony dla następnej strony, jeśli taki istnieje. |
|
Wypróbuj
Użyj poniższego eksploratora interfejsów API, aby wywołać tę metodę na bieżących danych i wyświetlić odpowiedź.
Możesz też wypróbować
samodzielna
Eksplorator.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThis version of the Bid Manager API is sunsetted, and users should migrate to Bid Manager API v2.\u003c/p\u003e\n"],["\u003cp\u003eRequests to this version may return errors, and certain fields in retrieved \u003ccode\u003eQuery\u003c/code\u003e resources will be empty.\u003c/p\u003e\n"],["\u003cp\u003eThis API retrieves stored reports associated with a specific query ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["The Bid Manager API v1.1 is sunset, and users must migrate to v2. Requests to v1.1 may error, and if successful, `Query` resources will have empty fields: `metadata.googleCloudStoragePathForLatestReport`, `metadata.latestReportRunTimeMs`, and `metadata.googleDrivePathForLatestReport`. To retrieve stored reports, use a `GET` request to `queries/queryId/reports`, including the `queryId` and optional `pageSize` and `pageToken`. Authorization with the `doubleclickbidmanager` scope is required. A successful response returns a list of reports, the kind of response, and next page token.\n"],null,["# Reports: listreports\n\n| This version of the Bid Manager API has been sunset. Users must [migrate to Bid Manager API v2](/bid-manager/how-tos/v2-migration).\n|\n|\n| Requests to this version may return an error. If the request is successful, the following fields in retrieved [`Query`](/bid-manager/v1.1/queries#resource) resources will be empty:\n|\n| - [`metadata.googleCloudStoragePathForLatestReport`](/bid-manager/v1.1/queries#metadata.googleCloudStoragePathForLatestReport)\n| - [`metadata.latestReportRunTimeMs`](/bid-manager/v1.1/queries#metadata.latestReportRunTimeMs)\n| - [`metadata.googleDrivePathForLatestReport`](/bid-manager/v1.1/queries#metadata.googleDrivePathForLatestReport)\n|\n| \u003cbr /\u003e\n|\n| **Note:** Requires [authorization](#auth).\n\nRetrieves stored reports.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/doubleclickbidmanager/v1.1/queries/queryId/reports\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|-----------|------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `queryId` | `long` | Query ID with which the reports are associated. |\n| **Optional query parameters** |||\n| `pageSize` | `integer` | Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified. |\n| `pageToken` | `string` | Optional pagination token. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|---------------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclickbidmanager` |\n\nFor more information, see the [authentication and authorization](/bid-manager/how-tos/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"doubleclickbidmanager#listReportsResponse\",\n \"reports\": [\n reports Resource\n ],\n \"nextPageToken\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|------------------------------------------------------------------------------------------------------------------|-------|\n| `reports[]` | `list` | Retrieved reports. | |\n| `kind` | `string` | Identifies what kind of resource this is. Value: the fixed string `\"doubleclickbidmanager#listReportsResponse\"`. | |\n| `nextPageToken` | `string` | Next page's pagination token if one exists. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclickbidmanager/v1.1/doubleclickbidmanager.reports.listreports)."]]