Learn more about migrating to the Google Ads API by watching our latest webinar

SearchGoogleAdsRequest

Request message for GoogleAdsService.Search.

Fields

customer_id

string

Required. The ID of the customer being queried.

query

string

Required. The query string.

page_token

string

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

page_size

int32

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.

validate_only

bool

If true, the request is validated but not executed.

return_total_results_count

bool

If true, the total number of results that match the query ignoring the LIMIT clause will be included in the response. Default is false.

summary_row_setting

SummaryRowSetting

Determines whether a summary row will be returned. By default, summary row is not returned. If requested, the summary row will be sent in a response by itself after all other query results are returned.