We are currently migrating a subset of report types from offline to instant reporting. Once a user is migrated,
queries.list
responses will include existing instant reports. See our
blog post for more information.
Method: queries.run
Stay organized with collections
Save and categorize content based on your preferences.
Runs an existing query to generate a report.
HTTP request
POST https://doubleclickbidmanager.googleapis.com/v2/queries/{queryId}:run
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
queryId |
string (int64 format)
Required. The ID of the query to run.
|
Query parameters
Parameters |
synchronous |
boolean
Whether the query should be run synchronously. When true , the request won't return until the resulting report has finished running. This parameter is false by default. Setting this parameter to true is not recommended.
|
Request body
The request body contains an instance of RunQueryRequest
.
Response body
If successful, the response body contains an instance of Report
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.
RunQueryRequest
Details specifying how to run a query.
JSON representation |
{
"dataRange": {
object (DataRange )
}
} |
Fields |
dataRange |
object (DataRange )
The date range used by the query to generate the report. If unspecified, the query's original dataRange is used.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-21 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."]]