ListAccessibleCustomers Call failed with DEADLINE_EXCEEDED error

100 views
Skip to first unread message

Rten Marketo

unread,
Mar 29, 2022, 9:03:17 AM3/29/22
to AdWords API and Google Ads API Forum
Hi Team , 

We are trying to make listaccessible API calls from our application. it is failing with below error 

2022-03-29 01:46:04,671 WARN [grpc-default-executor-0] [] [] com.google.ads.googleads.lib.request.summary - FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v9.services.CustomerService/ListAccessibleCustomers, Endpoint: googleads.googleapis.com:443, CustomerID: null, RequestID: null, ResponseCode: DEADLINE_EXCEEDED, Fault: Deadline exceeded after 3599.983123223s. .
2022-03-29 01:46:04,672 INFO [grpc-default-executor-0] [] [] com.google.ads.googleads.lib.request.detail - FAILURE REQUEST DETAIL.
Request
-------
MethodName: google.ads.googleads.v9.services.CustomerService/ListAccessibleCustomers
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/11.0.12 gccl/0.0.0 gapic/ gax/2.6.1 grpc/}
Body: Response
--------
Headers: null
Body: null
Failure message: null
Status: Status{code=DEADLINE_EXCEEDED, description=Deadline exceeded after 3599.983123223s. , cause=null}.
2022-03-29 01:46:04,768 ERROR [http-nio-8080-exec-6] [067-INS-131] [1170ba2#17fd435b4f9] com.marketo.leadbulk.webapp.exception.ServiceExceptionHandler - io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: Deadline exceeded after 3599.983123223s.
com.google.api.gax.rpc.DeadlineExceededException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: Deadline exceeded after 3599.983123223s.
at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:51)
Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task failed
at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:57)
at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
at com.google.ads.googleads.v9.services.CustomerServiceClient.listAccessibleCustomers(CustomerServiceClient.java:362)
at com.marketo.google.client.impl.GoogleAdsApiClientImpl.getAllAccessibleAdsAccounts(GoogleAdsApiClientImpl.java:105)
at com.marketo.leadbulk.service.webapp.service.google.impl.GoogleAdsApiServiceImpl.getCustomers(GoogleAdsApiServiceImpl.java:34)
at com.marketo.leadbulk.service.webapp.controller.v1.google.GoogleAdsApiController.getCustomers(GoogleAdsApiController.java:41)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.reactive.result.method.InvocableHandlerMethod.lambda$invoke$0(InvocableHandlerMethod.java:144)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:125)
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1816)
at reactor.core.publisher.MonoZip$ZipCoordinator.signal(MonoZip.java:251)
at reactor.core.publisher.MonoZip$ZipInner.onNext(MonoZip.java:336)
at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onNext(MonoPeekTerminal.java:180)
at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101)
at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:74)
at reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:2398)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:2194)
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe(Operators.java:2068)
at reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:192)
at reactor.core.publisher.MonoFlatMap.subscribeOrReturn(MonoFlatMap.java:53)
at reactor.core.publisher.Mono.subscribe(Mono.java:4385)
at reactor.core.publisher.MonoZip.subscribe(MonoZip.java:128)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:236)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:203)
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onComplete(MonoFlatMap.java:18

The same call if we are doing via postman , it is working fine. 

Could you please help us with this?

Thanks




 

Google Ads API Forum Advisor

unread,
Mar 29, 2022, 9:48:49 PM3/29/22
to r10.m...@gmail.com, adwor...@googlegroups.com
Hi Rten,

Thank you for reaching out to us.

Since it appears that you are using Java, are there any other requests using this client library that result as well in the DEADLINE_EXCEEDED error and are successful when performed via postman? If yes, then this could indicate an issue with the client library. I would recommend that you reach out to the client library owners via this link, to clarify this error.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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