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.
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=”[email protected]” createTime>unix_seconds createEmail=”[email protected]”
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."],[[["Lists analysis queries owned by a specified customer using a GET request."],["Allows filtering of queries by name, title, query text, state, update/create time and email."],["Supports pagination to retrieve large result sets."],["Response includes a list of analysis queries and a token for fetching the next page."],["Requires `https://www.googleapis.com/auth/adsdatahub` authorization scope."]]],["This document details retrieving a customer's analysis queries via a `GET` HTTP request to `https://adsdatahub.googleapis.com/v1/{parent=customers/*}/analysisQueries`. The `parent` path parameter, representing the customer, is required. Optional query parameters include `pageSize` and `pageToken` for pagination, and `filter` to refine results. The request body is empty, and the response body contains a list of `queries` and a `nextPageToken` for further pagination. The OAuth scope needed is `https://www.googleapis.com/auth/adsdatahub`.\n"]]