AttributeError: '_SingleThreadedRendezvous' object has no attribute 'add_done_callback'

56 views
Skip to first unread message

Daniel Lucash

unread,
Sep 3, 2020, 5:17:10 PM9/3/20
to AdWords API and Google Ads API Forum
I'm receiving the following error when trying to stream data from the google ads API. 
AttributeError: '_SingleThreadedRendezvous' object has no attribute 'add_done_callback'

I'm receiving this error during the ga_service.search_stream(account,query) function of pulling reports.

Please see the snippet of the code I am trying to run below: This works locally but does not work when I try to deploy to a dataflow pipeline.
Screen Shot 2020-09-03 at 5.13.15 PM.png

Google Ads API Forum Advisor Prod

unread,
Sep 4, 2020, 12:26:24 PM9/4/20
to adwor...@googlegroups.com
Hi Daniel,

Thank you for reaching out to us. I see that you're encountering an AttributeError. Could you provide us with your request and response log for where this error occurs so that I may further investigate? For privacy, please reply using "Reply privately to author".

Thank you,

Google Logo
Bryan Li
Google Ads API Team
 


ref:_00D1U1174p._5004Q23x7i7:ref

Daniel Lucash

unread,
Sep 8, 2020, 10:29:18 AM9/8/20
to AdWords API and Google Ads API Forum
I have replied privately as requested. I don't see it in my thread but wanted to make sure it went through.

Thank you.

Google Ads API Forum Advisor Prod

unread,
Sep 9, 2020, 10:15:56 AM9/9/20
to adwor...@googlegroups.com
Hi Daniel,

I took a further look at your logs and it looks like this may be an issue regarding the client library and your set up. Could I ask you to post your concern here so that our dedicated Python Client Library Support Team can assist you with this issue? Let me know if you have further questions.

murph sun

unread,
May 21, 2021, 2:32:32 AM5/21/21
to AdWords API and Google Ads API Forum
Hi, wheathe you have resloved the problem ,  I got the same issue when I update googleadsApi v7, I can suceess at local, but deloied to prod occured the problem

Google Ads API Forum Advisor Prod

unread,
May 23, 2021, 8:49:12 PM5/23/21
to 18829...@163.com, adwor...@googlegroups.com
Hi,

Thank you for raising your concern.

To take a closer look at the issue, could you provide the complete request and response logs with request ID generated on your end where we can see the issue? You can provide the requested details via Reply privately to author option.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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