Required. 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, if any.
filter
string
Filters your response. Works using the following fields / formatting: name=”customers/271828/analysisQueries/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.
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 analysis queries owned by a specified customer using the \u003ccode\u003ecustomers/{customer_id}/analysisQueries\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering results by query name, title, text, state, update/create time and email using the \u003ccode\u003efilter\u003c/code\u003e query parameter.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination with \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters for retrieving large result sets.\u003c/p\u003e\n"],["\u003cp\u003eReturns a list of \u003ccode\u003eAnalysisQuery\u003c/code\u003e objects and a \u003ccode\u003enextPageToken\u003c/code\u003e for subsequent requests.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adsdatahub\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details how to list analysis queries for a specific customer using the Ads Data Hub API. It uses a `GET` request to the specified URL, including the customer ID in the path. Optional query parameters `pageSize`, `pageToken`, and `filter` can refine the results. The request body must be empty. The response contains a list of analysis `queries` and a `nextPageToken` for paginated results. Authorization requires the `https://www.googleapis.com/auth/adsdatahub` scope.\n"],null,[]]