AI-generated Key Takeaways
-
This document details how to list user list queries owned by a specified customer.
-
The API request uses a GET method with a URL structure including the parent customer ID.
-
Path and query parameters are used to specify the customer and filter/paginate the results.
-
The request body must be empty, and the response body contains a list of user list queries and a next page token.
-
The operation requires the
https://www.googleapis.com/auth/adsdatahub
OAuth scope for authorization.
Lists the user list queries owned by the specified customer.
HTTP request
GET https://adsdatahub.googleapis.com/v1/{parent=customers/*}/userListQueries
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Parent customer resource name, e.g. 'customers/123'. |
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of items to return. If 0, The server will determine the number of queries to return. |
pageToken |
Page token, returned by a previous call, used to request the next page of results. |
filter |
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:
JSON representation |
---|
{
"queries": [
{
object ( |
Fields | |
---|---|
queries[] |
A list of queries. |
nextPageToken |
A token that can be used to request the next results page. This field is empty if there are no additional results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub