5 messages in com.googlegroups.adwords-apiAdWords API Re: API Service Bug
FromSent OnAttachments
AdWords API Advisor24 Jul 2008 11:01 
Dijkstra24 Jul 2008 14:57 
AdWords API Advisor25 Jul 2008 08:34 
Dijkstra27 Jul 2008 15:50 
AdWords API Advisor28 Jul 2008 08:47 
Subject:AdWords API Re: API Service Bug
From:Dijkstra (pepi@gmail.com)
Date:07/27/2008 03:50:36 PM
List:com.googlegroups.adwords-api

Hi Jeff!

 Out of curiosity, which SOAP library are you using that's preventing you from specifying the parameters in the order that the API is looking for? I don't recall anyone else mentioning similar issues, and it's likely because their SOAP libraries just specify the parameters in the order which they're listed in the WSDL.

I have more information about this issue. Answering your questions, our SOAP library is propietary and developed in-house. About the order of the parameters you're right, they are defined in the WSDL in a "sequence", and members of a sequence must appear in the same order by the XML Schema. In other words, "getAdGroupStats" call expects only one parameter, but this parameter happens to be of type "sequence".

You are still not validating names, so I can call "getAdGroupStats" with A, B, C, D as sequence members names and they give correct results. I suspect they must generate at least a Fault on the lines of "Unknown struct name" / "Extra data detected" and the like.