RPC_DEADLINE_TOO_SHORT

780 views
Skip to first unread message

Anahi Martinez

unread,
Mar 7, 2022, 2:04:45 PM3/7/22
to Google Ads API and AdWords API Forum
Hi, we are facing some issues when trying to push feed items to a feed (Ad Customizers)
We are pushing around 3000 items at a time since the documentation states that the limit is 5000 for mutating calls, here's a sample of the Response we get

Headers: {
"google.ads.googleads.v9.errors.googleadsfailure-bin": "\n\u0001\n\u0002\b!\u0012\u0001The request timed out because the specified deadline was too short to complete the request. Please set a larger deadline and retry.\u0012\u0016-PTVwZnOG7LJcLPntYXk0A",
"grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid argument.\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure\u0012\u0001\n\u0001\n\u0002\b!\u0012\u0001The request timed out because the specified deadline was too short to complete the request. Please set a larger deadline and retry.\u0012\u0016-PTVwZnOG7LJcLPntYXk0A",
"request-id": "-PTVwZnOG7LJcLPntYXk0A"
}
Fault: errors {
error_code {
request_error: RPC_DEADLINE_TOO_SHORT
}
message: "The request timed out because the specified deadline was too short to complete the request. Please set a larger deadline and retry."
}
request_id: "-PTVwZnOG7LJcLPntYXk0A"

We tried looking for the error code but there is not much information that we could find.
We are using the Python client library

Please let us know, thank you!

Google Ads API Forum Advisor

unread,
Mar 8, 2022, 8:12:48 AM3/8/22
to an...@everymundo.com, adwor...@googlegroups.com

Hi Anahi,

Thanks for reaching out to the Google Ads API Forum.

I can see that you have received the error RPC_DEADLINE_TOO_SHORT. You may note that you encountered an error due to the deadline specified by the client being too short. The reason is the request timed out because the specified deadline was too short to complete the request. That said, you may try to set a larger deadline and retry. Let us know how this goes on your end.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2XmEZ5:ref

Anahi Martinez

unread,
Mar 8, 2022, 9:07:01 AM3/8/22
to Google Ads API and AdWords API Forum
Hi Yasar, 

Thank you for your response, is there a way you can provide concrete documentation on how to increase the deadline? We haven't been able to find how to set the deadline. Thank you!

Google Ads API Forum Advisor

unread,
Mar 8, 2022, 3:53:37 PM3/8/22
to an...@everymundo.com, adwor...@googlegroups.com
Hi Anahi,

Please see this guide that discusses best practices for handling rate limits.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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