message: "The request took too long to respond."

544 views
Skip to first unread message

zhangyujie0625

unread,
Apr 14, 2022, 8:59:05 AM4/14/22
to Google Ads API and AdWords API Forum
hello, What causes the occasional timeout error? Can I set the timeout

error (2).log

Google Ads API Forum Advisor

unread,
Apr 14, 2022, 4:44:36 PM4/14/22
to zhangyu...@gmail.com, adwor...@googlegroups.com
Hi,

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

The DEADLINE_EXCEEDED error occurs when the request took longer than a deadline.With this, I would suggest to adjust the time of your timeout based on this document. The timeout currently cannot be increased beyond a maximum value of 1 hour. If this becomes an issue, it is usually best to split the query up and execute the chunks in parallel; this avoids the situation where a long running request fails and the only way to recover is to trigger the request again from the start.

Let me know how it goes after trying the provided suggestion.

Thanks,

Google Logo
Nirmita
Google Ads API Team
 


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