Reports: get
Rapor isteğinin durumuyla ilgili anketler.
Şimdi deneyin.
Yanıt, raporun durumunu gösterir:
- Rapor indirilmeye hazırsa yanıt
isReportReady: true
ifadesini içerir. Yanıt, rapor dosyalarının sayısı gibi bilgileri de içerir.
- Rapor üzerinde çalışılmaya devam ediliyorsa yanıtta
isReportReady: false
ifadesi bulunur.
- DoubleClick Search raporu tamamlayamazsa yanıt, 410 Gitti hata kodunu ve
Yanıt Kodları.
İstek
HTTP isteği
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId
Parametreler
Parametre adı |
Değer |
Açıklama |
Yol parametreleri |
reportId |
string |
Sorgulanan rapor isteğinin 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.
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."],[[["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"]]