I know there are a bunch of topics in this group related to DEADLINE_EXCEEDED error, but I wanted to double confirm if I'm doing everything correct in my individual case.
First of all we have thousands of Google Ads accounts served in our app and we get errors only for a couple of accounts among all - I'll be happy to provide their ids privately.
We have 'timeoutMillis' set to 120 minutes at our side. And here is what I see in our app logs, please note request times:
2022-08-25 16:07:19 Loading Ad (
https://developers.google.com/google-ads/api/fields/v11/ad_group_ad report)
2022-08-25 18:07:19 Google Ads ApiException was thrown with message {
"message": "Deadline Exceeded",
"code": 4,
"status": "DEADLINE_EXCEEDED",
"details": []
}
2022-08-25 18:07:49 Retry #1 for the error : {
"message": "Deadline Exceeded",
"code": 4,
"status": "DEADLINE_EXCEEDED",
"details": []
}
2022-08-25 18:07:49 GoogleAdsClient build id done
2022-08-25
18:07:49 Getting report attempt 1 :
2022-08-25 20:08:07 Google Ads ApiException was thrown with message {
"message": "Deadline Exceeded",
"code": 4,
"status": "DEADLINE_EXCEEDED",
"details": []
}
2022-08-25 20:08:37 Retry #2 for the error : {
"message": "Deadline Exceeded",
"code": 4,
"status": "DEADLINE_EXCEEDED",
"details": []
}
2022-08-25 20:08:38 GoogleAdsClient build id done
2022-08-25 20:08:38 Getting report attempt 2 :
My question is why could this happen to reports which are relatively small?
We've tried to reduce request date range from 60 days to 15 days and we still get the same DEADLINE_EXCEEDED error from time to time.
What could be recommendations for us? Extend 'timeoutMillis'? Reduce 'timeoutMillis'?
Max conversions lookback for account we query is 90 days so we need 90 days of data. Will it be more preferable to request 9 reports for 10 days of 3 reports for 30 days or ...?
Thanks in advance,