google.auth.exceptions.TransportError:

201 views
Skip to first unread message

si shen

unread,
Dec 17, 2024, 2:42:50 AM12/17/24
to Google Ads API and AdWords API Forum
hello team.
I tried to get report from google ads api, but it always show me this error.
google.auth.exceptions.TransportError: HTTPSConnectionPool(host='accounts.google.com', port=443): Max retries exceeded with url: /o/oauth2/token (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000023B1E969670>, 'Connection to accounts.google.com timed out. (connect timeout=120)'))

Please help me to know what is wrong with my setting.
thanks so much

Google Ads API Forum Advisor

unread,
Dec 17, 2024, 8:15:28 AM12/17/24
to gaofeng...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

In order to assist you further, could you please tell us which client library you are using, while making the given request. Please note that the provided information is not sufficient to investigate the issue further. Kindly provide us with the complete API logs (request and response and request header) generated at your end so that we can investigate why the requests are getting timed out.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGpK9:ref" (ADR-00278979)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



si shen

unread,
Dec 26, 2024, 3:13:10 AM12/26/24
to Google Ads API and AdWords API Forum
屏幕截图 2024-12-26 113147.png屏幕截图 2024-12-26 111111.png
Reply all
Reply to author
Forward
0 new messages