We recently upgraded out Java applications to v201603 and migrated from 
MutateJobService to BatchJobService for uploading bids. All works fine 
except when an upload request has an error. Then on the 
subsequent batchJobHelper.downloadBatchJobMutateResponse call we get the 
following:

2016-04-28 08:02:33,635 [Agent - BID_STATUS : Job - 413592 thread] ERROR - 
(GoogleJobResponseProcessor:338) updateKeywordsUsingMutateService -  [ 
com.google.api.ads.adwords.lib.utils.BatchJobException ] Failed to download 
batch job mutate response from URL: <Removed URL>
        at 
com.google.api.ads.adwords.axis.utils.v201603.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:106)
...

        at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:89)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.xml.sax.SAXException: No deserializer for 
{https://adwords.google.com/api/adwords/cm/v201603}ErrorList
        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:136)
        at 
com.google.api.ads.adwords.axis.utils.v201603.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:102)
        ... 19 more

I was able to manually download the response and it contains the error:
-<rval>
-<errorList>
-<errors xsi:type="EntityNotFound" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<fieldPath>operations[101].operand.criterion.id</fieldPath>
<trigger>CriterionId{id=3000000}</trigger>
<errorString>EntityNotFound.INVALID_ID</errorString>
<ApiError.Type>EntityNotFound</ApiError.Type>
<reason>INVALID_ID</reason>
</errors>
</errorList>
<index>101</index>
</rval>

Any responses that do not have these errors work fine.
Any help here is appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ad62142e-6922-491d-9e64-b8981354321f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Deserialize err... todd . tormoen

Reply via email to