ga_service.search_stream(search_request) shutting down

225 views
Skip to first unread message

Noa Hubara

unread,
Aug 17, 2022, 12:25:47 PM8/17/22
to Google Ads API and AdWords API Forum
Hi
I have a code that uses search stream. It always fail on the same search request without noting an error- just shuts down my app. I think it might have something to do with the size of the response. 
How can I solve this issue? try and catch does not work.

tnx!

Google Ads API Forum Advisor

unread,
Aug 17, 2022, 1:57:25 PM8/17/22
to adwor...@googlegroups.com
Hi Noa,

It appears you are using Python Client Library. If so, we have Streaming Iterators and Protobuf Messages that can alleviate some big streaming issues. You may want to reach out to the issue tracker for more assistance.

We can check if there is anything in your response from the API that is causing trouble. To test, could you send us a 'DEBUG' log level request and response log of raw API communications that causes your app to fail?

The request and response appears similar to the JSON Mappings in our REST documentation with additional headers and information such as request Id. Here are logging instructions for our Java.NETPHPPythonRuby and Perl Ads API Client Libraries.

If you are using our REST interface then the full multi line curl command line is a request log and adding curl command line option '-i' will also generate a response log. 

Regards,

Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dkqMO:ref

Noa Hubara

unread,
Aug 22, 2022, 8:22:22 AM8/22/22
to Google Ads API and AdWords API Forum
I have the debug logs, but any way to contact you with the info privately? as the information is private 

Google Ads API Forum Advisor

unread,
Aug 22, 2022, 9:26:11 AM8/22/22
to adwor...@googlegroups.com
Hi Noa,

Thank you for the reply.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dkqMO:ref
Reply all
Reply to author
Forward
0 new messages