Method: queries.run

Runs a stored 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. ID of query to run.

Query parameters

Parameters
synchronous

boolean

Whether the query should be run synchronously. When true, this method will not return until the query has finished running. When false or not specified, this method will return immediately.

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

Request to run a stored query to generate a report.

JSON representation
{
  "dataRange": {
    object (DataRange)
  }
}
Fields
dataRange

object (DataRange)

Report data range used to generate the report. If unspecified, the original parent query's data range is used.