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 |
下一頁的分頁符記 (如果有的話)。 |
|
試試看!
使用下方的 APIs Explorer,針對即時資料呼叫這個方法,看看會有什麼結果。
您也可以改用
獨立式
Explorer。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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)."]]