Reports: get
סקרים לבדיקת הסטטוס של בקשות לדיווח.
רוצים לנסות עכשיו?
התגובה מציינת את הסטטוס של הדוח:
- אם הדוח מוכן להורדה, התשובה תכיל את הערך
isReportReady: true
. התשובה מכילה גם מידע כמו מספר קובצי הדוח.
- אם עדיין עובדים על הדוח, התשובה תכיל את הערך
isReportReady: false
.
- אם מערכת DoubleClick Search לא יכולה להשלים את הדוח, התגובה תכיל את קוד השגיאה 410 Gone ואת אחת הסיבות המתועדות
קודי תגובה.
בקשה
בקשת HTTP
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId
פרמטרים
שם הפרמטר |
ערך |
תיאור |
פרמטרים של נתיב |
reportId |
string |
המזהה של בקשת הדיווח שנבדקה.
|
אישור
הבקשה הזו מחייבת הרשאה עם ההיקף הבא:
היקף |
https://www.googleapis.com/auth/doubleclicksearch |
מידע נוסף זמין בדף אימות והרשאה.
גוף הבקשה
אל תספקו גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו תחזיר משאב Reports בגוף התגובה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-20 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]