Bid Manager API v1.1 is deprecated and will sunset on April 27, 2023.

Migrate to v2 to avoid service interruption. See our migration guide for steps in migrating to v2.

Method: queries.list

Stay organized with collections Save and categorize content based on your preferences.

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.