We are currently migrating a subset of report types from offline to instant reporting. Once a user is migrated,
queries.list
responses will include existing instant reports. See our
blog post for more information.
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 token identifying which page of results the server should return. Typically, this is the value of nextPageToken , returned from the previous call to the queries.list method. If unspecified, the first page of results is returned.
|
orderBy |
string
Field to sort the list by. Accepts the following values:
queryId (default)
metadata.title
The default sorting order is ascending. To specify descending order for a field, add the suffix desc to the field name. For example, queryId desc .
|
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. This field will be absent if empty.
|
nextPageToken |
string
A token to retrieve the next page of results. Pass this value in the pageToken field in the subsequent call to queries.list method to retrieve the next page of results.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."],[[["Lists queries created by the current user with support for pagination and sorting."],["Allows specification of maximum results per page (`pageSize`) and retrieval of specific pages using tokens (`pageToken`)."],["Enables sorting by query ID or metadata title, with options for ascending or descending order (`orderBy`)."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclickbidmanager` scope."],["Provides a JSON response containing an array of queries and a token for retrieving subsequent pages."]]],[]]