Hi,
Thanks for getting back to us.
For REST API search stream format, you may refer below cURL sample:
curl -f --request POST "https://googleads.googleapis.com/v${API_VERSION}/customers/${CUSTOMER_ID}/googleAds:searchStream" \
--header "Content-Type: application/json" \
--header "developer-token: ${DEVELOPER_TOKEN}" \
--header "login-customer-id: ${MANAGER_CUSTOMER_ID}" \
--header "Authorization: Bearer ${OAUTH2_ACCESS_TOKEN}" \
--data '{
"query": "
SELECT campaign.name,
campaign_budget.amount_micros,
campaign.status,
campaign.optimization_score,
campaign.advertising_channel_type,
metrics.clicks,
metrics.impressions,
metrics.ctr,
metrics.average_cpc,
metrics.cost_micros,
campaign.bidding_strategy_type
FROM campaign
WHERE segments.date DURING LAST_7_DAYS
AND campaign.status != 'REMOVED'
"
}'
Response body:
If successful, the response body contains data with the following structure:
Response message for GoogleAdsService.SearchStream.
JSON representation
[
{
"results": [
{
object (GoogleAdsRow)
}
],
"fieldMask": string,
"summaryRow": {
object (GoogleAdsRow)
},
"requestId": string
}
]
For more information, you may refer to this guide.
Regards,
 |
| Yasar |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2ePgPj:ref