Tuesday, 31 May 2016

Re: BatchJobService mutateResponse says it uses v201603 but the response seems to be v201509

I found it here:

https://adwords.google.com/api/adwords/cm/xsd/v201603/BatchJobOps.xsd

The v201509 version of that xsd was linked from a migration guide that we followed.

I suggest doing a diff between the xsd above and this one:

https://adwords.google.com/api/adwords/cm/xsd/v201509/BatchJobOps.xsd

All will become much more clear as you can see that the parameters have switched places.

Also, we are using soap to get the temporary upload urls, but this response is the raw xml fetched via http, so we are using the xsd to validate and parse the xml coming back, and not the wsdl.

/cjk


On Tuesday, May 31, 2016 at 7:48:30 PM UTC+2, Joyce Lava wrote:
Hi Cal-Johan,

I am not sure on where did you find the XSD for v201603, but upon checking on the BatchJobService wsdl, it shows the part:

<complexType abstract="true" name="ApiError">

<annotation>

<documentation>

The API error base class that provides details about an error that occurred while processing a service request. <p>The OGNL field path is provided for parsers to identify the request data element that may have caused the error.</p>

</documentation>

</annotation>

<sequence>

<element maxOccurs="1" minOccurs="0" name="fieldPath" type="xsd:string">

<annotation>

<documentation>The OGNL field path to identify cause of error.</documentation>

</annotation>

</element>

<element maxOccurs="1" minOccurs="0" name="trigger" type="xsd:string">

<annotation>

<documentation>The data that caused the error.</documentation>

</annotation>

</element>

<element maxOccurs="1" minOccurs="0" name="errorString" type="xsd:string">

<annotation>

<documentation>

A simple string representation of the error and reason.

</documentation>

</annotation>

</element>

<element maxOccurs="1" minOccurs="0" name="ApiError.Type" type="xsd:string">

<annotation>

<documentation>

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

</documentation>

</annotation>

</element>

</sequence>

</complexType>

If you have other concerns regarding the above, please send the SOAP request and response by clicking Reply Privately to Author.

Best Regards,
Joyce, AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
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 adwords-api+unsubscribe@googlegroups.com.
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/45c6a8c5-64fa-40b1-a4a4-09ec0ee7892c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment