java.util.concurrent.TimeoutException: Waited seconds for com.google.api.gax.retrying.CallbackChainRetryingFuture@7ec02838[status=PENDING]

35 views
Skip to first unread message

Dinesh Hegde

unread,
Oct 1, 2020, 12:50:23 PM10/1/20
to AdWords API and Google Ads API Forum
The application type of the OAuth Google API console project  is Desktop application.

My program fails with timeout error while waiting for job to complete. I am submitting just 2 UserDataService operations. I tried changing the MAX_TOTAL_POLL_INTERVAL_SECONDS  to 300 but I still get the same error.

I am using the offline Batchservice to submit UserDataService operations. After submitting the batch job when I invoke runFuture.getPollingFuture().get(MAX_TOTAL_POLL_INTERVAL_SECONDS,  TimeUnit.SECONDS);
I get this error message:
java.util.concurrent.TimeoutException: Waited 60 seconds (plus 69870 nanoseconds delay) for com.google.api.gax.retrying.CallbackChainRetryingFuture@7ec02838[status=PENDING] at shaded.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:495) at com.google.ads.googleads.examples.remarketing.AddCustomerMatchUserList.addUsersToCustomerMatchUserList(AddCustomerMatchUserList.java:320) at com.google.ads.googleads.examples.remarketing.AddCustomerMatchUserList.runExample(AddCustomerMatchUserList.java:198) at com.google.ads.googleads.examples.remarketing.AddCustomerMatchUserList.run(AddCustomerMatchUserList.java:161)

Google Ads API Forum Advisor Prod

unread,
Oct 1, 2020, 10:53:52 PM10/1/20
to dinesh...@sony.com, adwor...@googlegroups.com
Hi Dinesh,

Thanks for posting your concern.

It appears that the encountered error is client library specific and with this, I would suggest reaching out to the author of the Java client library to get support and to know how to fix that error. You can contact the author of the Java client library by posting your concern here.

Also, to help you optimize your application, I would suggest referring to this document to read some of the best practices that you may use.

Let me know if you have further questions.

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


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