Page Summary
-
SearchStream returns all rows that match the search stream query.
-
SearchStream requires the
https://www.googleapis.com/auth/adwordsOAuth scope.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- SummaryRowSetting
- Try it!
Returns all rows that match the search stream query.
List of thrown errors: AuthenticationError AuthorizationError ChangeEventError ChangeStatusError ClickViewError HeaderError InternalError QueryError QuotaError RequestError
HTTP request
POST https://googleads.googleapis.com/v21/customers/{customerId}/googleAds:searchStream
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
customerId |
|
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"query": string,
"summaryRowSetting": enum ( |
| Fields | |
|---|---|
query |
|
summaryRowSetting |
SummaryRowSetting) |
Response body
Response message for GoogleAdsService.SearchStream.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "results": [ { object ( |
| Fields | |
|---|---|
fieldMask |
FieldMask format) |
queryResourceConsumption |
|
requestId |
|
results[] |
GoogleAdsRow) |
summaryRow |
GoogleAdsRow) |
SummaryRowSetting
Enum describing return summary row settings.
| Enums | |
|---|---|
NO_SUMMARY_ROW |
Do not return summary row. |
SUMMARY_ROW_ONLY |
Return summary row only and return no results. |
SUMMARY_ROW_WITH_RESULTS |
Return summary row along with results. The summary row will be returned in the last batch alone (last batch will contain no results). |
UNKNOWN |
Represent unknown values of return summary row. |
UNSPECIFIED |
Not specified. |
- Authorization scopes
-
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.