Method: queries.list

Retrieves every query that you have access to.

HTTP request

GET https://fullcirclequery.googleapis.com/v1/queries

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
pageSize

number

Maximum number of results to be returned by the server.

pageToken

string

When ListQueriesRequest was previously called and there were more than pageSize results, use pageToken to retrieve subsequent pages of results. The required token is provided as part of response from the previous query.

includeQuery

boolean

If true, return saved queries as well as query names; otherwise, return query names only.

customerId

string (int64 format)

Retrieve queries belonging to this specified Customer

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response to a queries.list request. Contains the queries that you have access to, sorted by query name.

JSON representation
{
  "queries": [
    {
      object(Query)
    }
  ],
  "nextPageToken": string
}
Fields
queries[]

object(Query)

Your available queries. The number of results returned is limited by the pageSize parameter in ListQueriesRequest.

nextPageToken

string

If pageSize limit is reached and there are remaining queries to be retrieved, this is the token for the next queries.list request. If this field is empty or null, then there are no more queries to retrieve.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsdatahub
  • https://www.googleapis.com/auth/xapi.zoo