Reports: getFile
הורדת קובץ דוח בקידוד UTF-8.
רוצים לנסות עכשיו?
בקשה
בקשת HTTP
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment
פרמטרים
שם הפרמטר |
ערך |
תיאור |
פרמטרים של נתיב |
reportFragment |
integer |
האינדקס של קטע הדוח להורדה.
|
reportId |
string |
המזהה של הדוח.
|
אישור
הבקשה הזו מחייבת הרשאה עם ההיקף הבא:
היקף |
https://www.googleapis.com/auth/doubleclicksearch |
מידע נוסף זמין בדף אימות והרשאה.
גוף הבקשה
אל תספקו גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו תחזיר גוף תגובה ריק.
נסה בעצמך!
אפשר להשתמש ב-APIs Explorer שבהמשך כדי להפעיל את השיטה הזו בנתונים בזמן אמת ולראות את התגובה.
לחלופין, אפשר לנסות את
עצמאי
חוקר.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-20 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-20 (שעון UTC)."],[[["Downloads a UTF-8 encoded report file based on the provided report ID and fragment index."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope."],["Uses a simple GET request with reportId and reportFragment as path parameters."],["Returns an empty response body upon successful download of the report fragment."],["Offers interactive exploration using APIs Explorer or a standalone version for testing with live data."]]],["This content describes how to download a report file via a GET request to a specific URL. The request requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope. You must specify the `reportId` (string) and `reportFragment` (integer) as path parameters. The report file, encoded in UTF-8, is downloaded without the need for a request body. A successful request returns an empty response body.\n"]]