We've updated our documentation with the latest features and updates introduced by Ads Data Hub's two new experiences. Advertisers, agencies, and publishers, refer to the Marketers site. Vendors and partners, 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."],[[["Lists user list queries for a specified customer, sorted by title."],["Allows filtering by name, title, query text, query state, update/create time, and email."],["Supports pagination to retrieve large result sets."],["Requires the `https://www.googleapis.com/auth/adsdatahub` authorization scope."],["Uses a GET request to the endpoint `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/userListQueries`."]]],["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"]]