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/crmBasedUserListQueries/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 crmBasedUserListQueries.list 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 CRM-based user list queries for a specified customer, sorted by title.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by name, title, query text, state, update/create time and email.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to retrieve large result sets.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of queries and a token for requesting the next page of results.\u003c/p\u003e\n"]]],["This document details how to list CRM-based user list queries for a specific customer. It uses a `GET` HTTP request to the provided URL, including the `parent` customer ID as a path parameter. Optional query parameters are `pageSize`, `pageToken`, and `filter`. The request body must be empty. The response includes a list of `queries` and a `nextPageToken` for pagination, if there are more results. To use this request, an authorization using `https://www.googleapis.com/auth/adsdatahub` is required.\n"],null,["# Method: customers.crmBasedUserListQueries.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.ListCrmBasedUserListQueriesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists the CRM based user list queries owned by the specified customer.\n\n### HTTP request\n\n`GET https://adsdatahub.googleapis.com/v1/{parent=customers/*}/crmBasedUserListQueries`\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/crmBasedUserListQueries/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 crmBasedUserListQueries.list 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.crmBasedUserListQueries#CrmBasedUserListQuery) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `queries[]` | `object (`[CrmBasedUserListQuery](/ads-data-hub/reference/rest/v1/customers.crmBasedUserListQueries#CrmBasedUserListQuery)`)` 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`"]]