The new Search Ads 360 Reporting API is now available. Join thesearchads-api-announcements Google group to stay up to date on upcoming enhancements and releases.

Method: searchAds360Fields.search

  • Search and retrieve SearchAds360 fields that match a specific query using the provided endpoint.

  • Requests can specify query parameters for filtering, pagination, and the number of results to return.

  • Responses include a list of matching fields, pagination information, and the total number of results.

  • Authorization requires thehttps://www.googleapis.com/auth/doubleclicksearch scope.

  • Potential errors include AuthenticationError, AuthorizationError, HeaderError, InternalError, QueryError, QuotaError, and RequestError.

Returns all fields that match the searchquery.

List of thrown errors:AuthenticationErrorAuthorizationErrorHeaderErrorInternalErrorQueryErrorQuotaErrorRequestError

HTTP request

POST https://searchads360.googleapis.com/v0/searchAds360Fields:search

The URL usesgRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{"query":string,"pageToken":string,"pageSize":integer}
Fields
query

string

Required. The query string.

pageToken

string

Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained fromnextPageToken in the previous response in order to request the next page of results.

pageSize

integer

Number of elements to retrieve in a single page. When too large a page is requested, the server may decide to further limit the number of returned resources.

Response body

Response message forSearchAds360FieldService.SearchSearchAds360Fields.

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

JSON representation
{"results":[{object (SearchAds360Field)}],"nextPageToken":string,"totalResultsCount":string}
Fields
results[]

object (SearchAds360Field)

The list of fields that matched the query.

nextPageToken

string

Pagination token used to retrieve the next page of results. Pass the content of this string as thepageToken attribute of the next request.nextPageToken is not returned for the last page.

totalResultsCount

string (int64 format)

Total number of results that match the query ignoring the LIMIT clause.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/doubleclicksearch

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-04-02 UTC.