Method: queries.get

  • Retrieves a specific query using its ID via a GET request.

  • Requires authorization with the https://www.googleapis.com/auth/doubleclickbidmanager scope.

  • The request body should be empty, and a successful response returns a Query object.

  • Utilizes gRPC Transcoding for URL structure and requires a queryId as a path parameter.

Retrieves a query.

HTTP request

GET https://doubleclickbidmanager.googleapis.com/v2/queries/{queryId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
queryId

string (int64 format)

Required. The ID of the query to retrieve.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Query.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/doubleclickbidmanager

For more information, see the OAuth 2.0 Overview.