Hi Hao,

Thank you for reaching out to Google Ads API support with your questions. The 
API returns results in JSON, and you can process it however you wish.

With that being said, I was able to modify the GetKeywordStats.java sample to 
print out the JSON of the stream with this modification:

for (SearchGoogleAdsStreamResponse response : stream) {
  for (GoogleAdsRow googleAdsRow : response.getResultsList()) {

    System.out.println(googleAdsRow.getAllFields().toString());
  }
}

For further assistance you may reach out to the Java Client Library Issue 
Tracker.

Here are listed the limitations on SearchStream.

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Regards,
​​​​​​​

Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2RvqDA:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aqaMx000000000000000000000000000000000000000000000R3333E00QTt3dVxOTcCQdX2S5gP7zA%40sfdc.net.
  • Do... 'Hao Long' via AdWords API and Google Ads API Forum
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to