फ़िलहाल, हम रिपोर्ट टाइप के सबसेट को ऑफ़लाइन से झटपट रिपोर्टिंग में माइग्रेट कर रहे हैं. उपयोगकर्ता के माइग्रेट हो जाने के बाद, queries.list जवाबों में मौजूदा इंस्टैंट रिपोर्ट शामिल होंगी. ज़्यादा जानकारी के लिए, हमारी ब्लॉग पोस्ट देखें.
क्वेरी चलाने के लिए, एक queries.run अनुरोध भेजें
queryId और इसे लागू करने की जानकारी. यह अनुरोध,
Report संसाधन चला रहा है.
क्वेरी चलाने और उससे मिलने वाले रिपोर्ट रिसॉर्स आईडी को पाने का तरीका यहां बताया गया है:
Java
// ID of query to run.
Long queryId = query-id;
// Run the query.
Report report = service.queries().run(queryId, null).execute();
// Print the running report ID.
System.out.printf(
"Report %s generated and running.%n",
report.getKey().getReportId());
Python
# The ID of the existing query.
query_id = query-id
# Run the query.
running_report = (
service.queries().run(queryId=query_id).execute()
)
# Print running report ID.
print(f'Report {running_report["key"]["reportId"]} generated and running.')
PHP
// ID of the query to run.
$queryId = query-id;
// Run the query.
$report = $this->service->queries->run(
$queryId,
new Google_Service_DoubleClickBidManager_RunQueryRequest(),
array());
// Print the running report ID
printf(
'Report %s generated and running.<br>',
$report->getKey()->getReportId());
[null,null,["आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया."],[[["Send a `queries.run` request with the `queryId` and execution details to run a query which will return a running `Report` resource."],["Schedule `Query` resources for automatic execution using the `schedule` field during creation, and retrieve reports using `queries.reports.list`."],["The provided Java, Python, and PHP code snippets demonstrate how to run a query and retrieve the resulting report resource ID."]]],[]]