Queries: listqueries
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
检索存储的查询。
立即试用。
请求
HTTP 请求
GET https://www.googleapis.com/doubleclickbidmanager/v1.1/queries
参数
参数名称 |
值 |
说明 |
可选的查询参数 |
pageSize |
integer |
每页的结果数上限。必须介于 1 到
100 。如果未指定,则默认为 100 。
|
pageToken |
string |
可选的分页令牌。
|
授权
此请求需要获得以下范围的授权:
范围 |
https://www.googleapis.com/auth/doubleclickbidmanager |
如需了解详情,请参阅身份验证和授权页面。
请求正文
使用此方法时请勿提供请求正文。
响应
如果成功,此方法将返回采用以下结构的响应正文:
{
"kind": "doubleclickbidmanager#listQueriesResponse",
"queries": [
queries Resource
],
"nextPageToken": string
}
属性名称 |
值 |
说明 |
备注 |
queries[] |
list |
检索到的查询。 |
|
kind |
string |
指明资源的类型。值:固定字符串 "doubleclickbidmanager#listQueriesResponse" 。 |
|
nextPageToken |
string |
下一页的分页令牌(如果存在)。 |
|
试试看!
请使用下面的 API Explorer 针对实际数据调用此方法并查看响应。
或者,您也可以尝试
独立广告
Explorer。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis version of the Bid Manager API is sunset, and users should migrate to Bid Manager API v2.\u003c/p\u003e\n"],["\u003cp\u003eRequests to this version may return errors, and specific fields in retrieved \u003ccode\u003eQuery\u003c/code\u003e resources will be empty.\u003c/p\u003e\n"],["\u003cp\u003eThis API retrieves stored queries and requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclickbidmanager\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses will include a list of retrieved queries, resource kind, and pagination token for subsequent pages.\u003c/p\u003e\n"]]],["The Bid Manager API v1.1 is sunset; users must migrate to v2. Requests to v1.1 may error, and successful retrievals of `Query` resources will have empty `metadata` fields: `googleCloudStoragePathForLatestReport`, `latestReportRunTimeMs`, and `googleDrivePathForLatestReport`. A `GET` request to `queries` can retrieve stored queries, with optional `pageSize` and `pageToken` parameters. The API requires `doubleclickbidmanager` authorization and returns a response with a `queries` list, `kind`, and an optional `nextPageToken`.\n"],null,["# Queries: listqueries\n\n| This version of the Bid Manager API has been sunset. Users must [migrate to Bid Manager API v2](/bid-manager/how-tos/v2-migration).\n|\n|\n| Requests to this version may return an error. If the request is successful, the following fields in retrieved [`Query`](/bid-manager/v1.1/queries#resource) resources will be empty:\n|\n| - [`metadata.googleCloudStoragePathForLatestReport`](/bid-manager/v1.1/queries#metadata.googleCloudStoragePathForLatestReport)\n| - [`metadata.latestReportRunTimeMs`](/bid-manager/v1.1/queries#metadata.latestReportRunTimeMs)\n| - [`metadata.googleDrivePathForLatestReport`](/bid-manager/v1.1/queries#metadata.googleDrivePathForLatestReport)\n|\n| \u003cbr /\u003e\n|\n| **Note:** Requires [authorization](#auth).\n\nRetrieves stored queries.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/doubleclickbidmanager/v1.1/queries\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|-----------|------------------------------------------------------------------------------------------------------|\n| **Optional query parameters** |||\n| `pageSize` | `integer` | Maximum number of results per page. Must be between `1` and `100`. Defaults to `100` if unspecified. |\n| `pageToken` | `string` | Optional pagination token. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|---------------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclickbidmanager` |\n\nFor more information, see the [authentication and authorization](/bid-manager/how-tos/authorizing) page.\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"doubleclickbidmanager#listQueriesResponse\",\n \"queries\": [\n queries Resource\n ],\n \"nextPageToken\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|------------------------------------------------------------------------------------------------------------------|-------|\n| `queries[]` | `list` | Retrieved queries. | |\n| `kind` | `string` | Identifies what kind of resource this is. Value: the fixed string `\"doubleclickbidmanager#listQueriesResponse\"`. | |\n| `nextPageToken` | `string` | Next page's pagination token if one exists. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclickbidmanager/v1.1/doubleclickbidmanager.queries.listqueries)."]]