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:AdWords API Advisor (adwo@google.com)
Date:07/25/2008 08:34:09 AM
List:com.googlegroups.adwords-api

Hello,

Yep, I'd agree that the ideal scenario would be to have the SOAP messages work as one would naturally expect, based on binding name rather than positional value.

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.

Cheers, -Jeff Posnick, AdWords API Team

On Jul 24, 5:58 pm, Dijkstra <pepi@gmail.com> wrote:

Hi Jeff,

On 24 jul, 20:02, AdWords API Advisor <adwo@google.com> wrote:

I'll see what the engineering team has to say about this as I'm assuming there was some initial rationale (though it may now seem misguided) to impose that sort of positional behavior. Just to set expectations, I'd think that it's more likely that we'd see this officially documented in the developer's guide rather than the underlying behavior changing completely, because the API has been around for some time now and there very well may be folks who are unwittingly relying on the behavior, and we try to minimize breaking changes in between API releases.

Thanks for your quick reply! Yes, this makes sense, but the correct fix will be binding the parameters name correctly. I mean, getting the "endDate" value from the parameter named "endDate" and not using the positional appereance. Parameters name must be checked trowing a Fault also.

Given that this is such an evident error and if no developer reported it earlier is an indication of A) everyone sends the parameters in the expected order or B) "getAdGroupStats" is barely used. Please, note that I can't change my SOAP library without a huge efford nor I can't change the way parameters are serialized. I think many developers may be in the very same situation.

Sincerely, Dijkstra.