Hi all,
Is there a way to obtain the reasons why an offline conversion upload
fails, for example TOO_RECENT_CLICK or UNAUTHORIZED_USER
I have SOAP body responses like following :
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[OfflineConversionError.UNAUTHORIZED_USER @
operations[0].operand]</faultstring>
<detail>
<ApiExceptionFault
xmlns="https://adwords.google.com/api/adwords/cm/v201509">
<message>[OfflineConversionError.UNAUTHORIZED_USER @
operations[0].operand]</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="OfflineConversionError">
<fieldPath>operations[0].operand</fieldPath>
<trigger/>
<errorString>OfflineConversionError.UNAUTHORIZED_USER</errorString>
<ApiError.Type>OfflineConversionError</ApiError.Type>
<reason>UNAUTHORIZED_USER</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
I´m using the reference example for upload offline conversions :
OfflineConversionFeedReturnValue offlineConversionReturnValue =
offlineConversionFeedService.mutate(new OfflineConversionFeedOperation[]
{offlineConversionOperation});
But when there is an exception this object is null, so I have no idea how
to access to the errors.
Thanks in advance,
Antonio
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/233e302a-955c-4b7c-bf02-e1f348d591e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.