Şu anda rapor türlerinin bir kısmını çevrimdışı raporlamadan anında raporlamaya taşıyoruz. Bir kullanıcı taşındıktan sonra, queries.list yanıtları mevcut anlık raporları içerir. Daha fazla bilgi edinmek için blog yayınımızı inceleyebilirsiniz.
Rapor oluşturmak için, depolanan bir sorguyu çalıştırır.
Şimdi deneyin.
İstek
HTTP isteği
POST https://www.googleapis.com/doubleclickbidmanager/v1.1/query/queryId
Parametreler
Parametre adı
Değer
Açıklama
Yol parametreleri
queryId
long
Çalıştırılacak sorgu kimliği.
İsteğe bağlı sorgu parametreleri
asynchronous
boolean
Sorgunun eşzamansız olarak çalıştırılıp çalıştırılmayacağı. Değer doğru olduğunda bu yöntem
hemen geri döner. Yanlış olduğunda veya belirtilmediğinde bu yöntem
döndürecektir.
(Varsayılan: false)
Yetkilendirme
Bu istek, aşağıdaki kapsamla yetkilendirme gerektiriyor:
[null,null,["Son güncelleme tarihi: 2024-08-22 UTC."],[[["This version of the Bid Manager API is sunset, and users should migrate to Bid Manager API v2."],["Requests to this version may return errors, and specific fields in retrieved `Query` resources will be empty."],["The `runquery` request runs a stored query to generate a report, accepting parameters like `queryId`, `asynchronous`, `dataRange`, and time parameters."],["Authorization with the `https://www.googleapis.com/auth/doubleclickbidmanager` scope is required for this request."]]],["The Bid Manager API v1.1 is sunset; users must migrate to v2. Requests to v1.1 may error, and successful requests will return empty `metadata.googleCloudStoragePathForLatestReport`, `metadata.latestReportRunTimeMs`, and `metadata.googleDrivePathForLatestReport` fields. To run a query, send a POST request with the `queryId`, optional asynchronous parameter, and report data range, start/end times, and timezone in the request body. This requires authorization with the `doubleclickbidmanager` scope.\n"]]