I'm getting exception while trying to download the batch job response.
On using this url in the browser, the xml file is downloaded. But, I'm unable to download the response via code.
Following is the exception :
Exception in thread "main" com.google.api.ads.adwords.lib.utils.BatchJobException: Failed to download batch job mutate response from URL:
https://batch-job-download-prod-.....
at com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobHelperImpl.downloadBatchJobMutateResponse(BatchJobHelperImpl.java:108)
at com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobHelperImpl.downloadBatchJobMutateResponse(BatchJobHelperImpl.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.api.ads.common.lib.utils.AdsUtilityInvocationHandler.handleInvocation(AdsUtilityInvocationHandler.java:46)
at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
at $Proxy29.downloadBatchJobMutateResponse(Unknown Source)
at com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:72)
at BatchJobTest.downloadResult(BatchJobTest.java:100)
at BatchJobTest.main(BatchJobTest.java:90)
at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:314)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.MessageElement.getValueAsType(MessageElement.java:917)
at com.google.api.ads.adwords.axis.utils.AxisDeserializer.deserializeBatchJobMutateResults(AxisDeserializer.java:112)
at com.google.api.ads.adwords.axis.utils.v201605.batchjob.BatchJobHelperImpl.downloadBatchJobMutateResponse(BatchJobHelperImpl.java:104)
... 11 more
Any clue would help.