Reports: getFile
UTF-8 olarak kodlanmış bir rapor dosyası indirir.
Şimdi deneyin.
İstek
HTTP isteği
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment
Parametreler
Parametre adı |
Değer |
Açıklama |
Yol parametreleri |
reportFragment |
integer |
İndirilecek rapor parçasının dizini.
|
reportId |
string |
Raporun kimliği.
|
Yetkilendirme
Bu istek, aşağıdaki kapsamla yetkilendirme gerektiriyor:
Kapsam |
https://www.googleapis.com/auth/doubleclicksearch |
Daha fazla bilgi edinmek için kimlik doğrulama ve yetkilendirme sayfasına göz atın.
İstek içeriği
Bu yöntemle istek gövdesi sağlamayın.
Yanıt
Başarılı olursa bu yöntem boş bir yanıt gövdesi döndürür.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-20 UTC.
[null,null,["Son güncelleme tarihi: 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"]]