Reports: get
Ruft den Status einer Berichtsanfrage ab.
Jetzt testen
Die Antwort gibt den Status des Berichts an:
- Wenn der Bericht zum Download bereit ist, enthält die Antwort
isReportReady: true
. Die Antwort enthält auch Informationen wie die Anzahl der Berichtsdateien.
- Wenn der Bericht noch bearbeitet wird, enthält die Antwort
isReportReady: false
.
- Wenn DoubleClick Search den Bericht nicht erstellen kann, enthält die Antwort den Fehlercode 410 Gone und einen der im
Antwortcodes:
Anfrage
HTTP-Anfrage
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId
Parameter
Parametername |
Wert |
Beschreibung |
Pfadparameter |
reportId |
string |
ID der Berichtsanforderung, die abgefragt wird.
|
Autorisierung
Für diese Anfrage ist eine Autorisierung mit folgendem Bereich erforderlich:
Umfang |
https://www.googleapis.com/auth/doubleclicksearch |
Weitere Informationen finden Sie auf der Seite Authentifizierung und Autorisierung.
Anfragetext
Mit dieser Methode keinen Anfragetext bereitstellen.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-20 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-20 (UTC)."],[[["Polls for the status of a report request to determine if it's ready for download, still processing, or if an error occurred."],["The response includes an `isReportReady` flag indicating the report status and, if ready, provides details like the number of report files."],["Uses a GET request to the specified endpoint, including the report ID as a path parameter, to retrieve the report status."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope for access."],["A successful response returns a Reports resource containing information about the requested report."]]],["This outlines polling a report request's status via a GET request to `https://www.googleapis.com/doubleclicksearch/v2/reports/reportId`, requiring authorization. The `reportId` path parameter identifies the report. A successful response indicates `isReportReady: true` if ready, including file information, or `isReportReady: false` if in progress. A 410 Gone error code signifies report failure. The method returns a Reports resource and doesn't use a request body.\n"]]