Hi,
  The order of elements in XML has always been significant and well-defined 
by the XML schema in the WSDL.  Until know, we haven't enforced this 
restriction, preferring to be more accepting of input.

However, this leniency has lead to its own problems.  For example, not only 
was the order not enforced, but namespaces and invalid elements were also 
not reported.  This meant you could be providing a field with a misspelled 
tag name and as long as that field wasn't required, it would be silently 
ignored.  This gives the false impression that the field was valid for the 
request.  Likewise, we did not strictly validate namespaces.  This means a 
developer could (for example) provide the SOAP Headers for developer token, 
clientCustomerId, etc for the TargetingIdeaService using the /o/ namespace 
when in fact these headers belong to the /cm/ namespace.  Likewise for the 
Criterion xsi:types when using the TIS.

For these reasons and more we decided to implement more strict XML 
validation to give more feedback to developers when their code is not 
providing code that validates with the xml schema provided in the WSDL.

We strongly encourage the use of our client libraries, which already handle 
this type of logic for you.  For those who do not wish to use our client 
libraries, we have published a number of guides that show how to use common 
toolkits in a number of languages that handle this for you in the bottom 
section of the client library page: 
http://code.google.com/apis/adwords/docs/clientlibraries.html

While I agree that the change to require developer tokens in reports was 
not well-received, we've been hearing great feedback regarding AdHoc 
reports.  As far as developer benefits, reporting is now free for 
developers whereas it previously cost quite a few units to define each 
report.  There's also no need to keep track of previously defined reports 
for each client and reuse the same report for each client.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to