AI-generated Key Takeaways
- 
          The core function of this operation is to run an existing query to generate a report. 
- 
          The HTTP request uses a POST method with a URL including a queryIdpath parameter.
- 
          An optional synchronousquery parameter can be used, but setting it totrueis not recommended.
- 
          The request body contains details on how to run the query, including an optional dataRange.
- 
          A successful response body will contain a Reportobject, and authorization requires thehttps://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- RunQueryRequest
- Try it!
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 | 
 Required. The ID of the query to run. | 
Query parameters
| Parameters | |
|---|---|
| synchronous | 
 Whether the query should be run synchronously. When  Setting this parameter to  | 
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 ( | 
| Fields | |
|---|---|
| dataRange | 
 The date range used by the query to generate the report. If unspecified, the query's original  |