This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.
Parent customer resource name, e.g. 'customers/123'.
Query parameters
Parameters
pageSize
integer
Maximum number of items to return. If 0, The server will determine the number of queries to return.
pageToken
string
Page token, returned by a previous call, used to request the next page of results.
filter
string
Filters your response. Works using the following fields / formatting: name=”customers/271828/userListQueries/pi314159265359” title=”up_and_right” queryText="SELECT LN(2.7182818284);" queryState="RUNNABLE" updateTime>unix_seconds updateEmail=”abc@gmail.com” createTime>unix_seconds createEmail=”abc@gmail.com”
Request body
The request body must be empty.
Response body
Response to a ListDataQueries request. Contains the queries owned by the specified customer, sorted by title.
If successful, the response body contains data with the following structure:
[[["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-09-18 UTC."],[[["\u003cp\u003eLists user list queries for a specified customer, sorted by title.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by name, title, query text, query state, update/create time, and email.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to retrieve large result sets.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eUses a GET request to the endpoint \u003ccode\u003ehttps://adsdatahub.googleapis.com/v1/{parent=customers/*}/userListQueries\u003c/code\u003e.\u003c/p\u003e\n"]]],["This outlines retrieving a list of user list queries for a specified customer. The `GET` request utilizes a URL with a customer ID path parameter. Optional query parameters `pageSize`, `pageToken`, and `filter` enable pagination and refined searching. The request body is empty. The successful response includes an array of `queries` and a `nextPageToken` for further pagination. Authorization requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope.\n"],null,["# Method: customers.userListQueries.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListUserListQueriesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists the user list queries owned by the specified customer.\n\n### HTTP request\n\n`GET https://adsdatahub.googleapis.com/v1/{parent=customers/*}/userListQueries`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|---------------------------------------------------------------|\n| `parent` | `string` Parent customer resource name, e.g. 'customers/123'. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Maximum number of items to return. If 0, The server will determine the number of queries to return. |\n| `pageToken` | `string` Page token, returned by a previous call, used to request the next page of results. |\n| `filter` | `string` Filters your response. Works using the following fields / formatting: name=\"customers/271828/userListQueries/pi314159265359\" title=\"up_and_right\" queryText=\"SELECT LN(2.7182818284);\" queryState=\"RUNNABLE\" updateTime\\\u003eunix_seconds updateEmail=\"abc@gmail.com\" createTime\\\u003eunix_seconds createEmail=\"abc@gmail.com\" |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse to a ListDataQueries request. Contains the queries owned by the specified customer, sorted by title.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"queries\": [ { object (/ads-data-hub/reference/rest/v1/customers.userListQueries#UserListQuery) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `queries[]` | `object (`[UserListQuery](/ads-data-hub/reference/rest/v1/customers.userListQueries#UserListQuery)`)` A list of queries. |\n| `nextPageToken` | `string` A token that can be used to request the next results page. This field is empty if there are no additional results. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adsdatahub`"]]