Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Để chạy truy vấn, hãy gửi yêu cầu queries.run cùng với thuộc tính
queryId và thông tin chi tiết về quá trình thực thi. Yêu cầu này trả về một
đang chạy tài nguyên Report.
Dưới đây là cách chạy truy vấn và truy xuất mã tài nguyên báo cáo thu được:
Java
// ID of query to run.LongqueryId=query-id;// Run the query.Reportreport=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 IDprintf( 'Report %s generated and running.<br>', $report->getKey()->getReportId());
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[],[]]