Method: queries.list

Lists queries created by the current user.

HTTP request

GET https://doubleclickbidmanager.googleapis.com/v2/queries

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
pageSize

integer

Maximum number of results per page. Must be between 1 and 100. Defaults to 100 if unspecified.

pageToken

string

A page token, received from a previous list call. Provide this to retrieve the subsequent page of queries.

orderBy

string

Name of a field used to order results. The default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. For example "metadata.title desc".

Sorting is only supported for the following fields:

  • queryId
  • metadata.title

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "queries": [
    {
      object (Query)
    }
  ],
  "nextPageToken": string
}
Fields
queries[]

object (Query)

The list of queries.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page of queries. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.