Hi,

While creating batcj jobs, I am randomly getting the following exception. 2 
out of 3 times it works ok but the other 1 time the exception occurs with 
no info on what caused it. The data I send are always the same, so it can't 
be data related.

Exception in thread "main" java.util.concurrent.CancellationException: Task 
was cancelled.
    at 
com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1377)
    at 
com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:551)
    at 
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:514)
    at 
com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:86)
    at 
com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:62)
    at 
com.google.api.gax.longrunning.OperationFutureImpl.get(OperationFutureImpl.java:127)

My code is quite standard, create a batch job, addAllMutateOperations and 
addBatchJobOperations, 
and so on, as per 
https://developers.google.com/google-ads/api/docs/batch-processing/best-practices

Any ideas?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dedcce4a-87d8-4655-ad4c-9120a927843fn%40googlegroups.com.
  • (java client v9.... 'Kostas Kougios' via AdWords API and Google Ads API Forum

Reply via email to