Hello,
we're using .NET AdWords API library. We're getting into problems with
our clients from yesterday. About 30-40% of clients fail on this
error:
Internal Error: Response is not well-formed XML.

I suspected the Google API from not sending well-formed SOAP
responses. I checked the AdWords API log file where are supposed to be
all send and received SOAP headers. Unfortunatelly, it is missing all
those failed SOAP requests/reponses, which makes the whole problem
much more difficult to investigate.

However, using sniffer I'm able to see all the send and received SOAP
requests (not easy due to SSL) and I can see that Google's responses
are really not well-formed, example:

<externalPolicyDescription>
              Vanwege het merkenrecht mogen adverteerders 'Toyota'
niet gebruiken in hun Google AdWords-advertenties. Deze term wordt
mogelijk gebruikt als handelsmerk voor een bepaald product of een
bepaalde servicecategorie. Mogelijk geldt dit alleen voor bepaalde
landen.

...
            </externalPolicyDescription>
            <isExemptable>
              true</
fef
              isExemptable><violatingParts>
                <index>9</index>
                <length>6</length>
              </violatingParts>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:type="PolicyViolationError">
            <fieldPath>operations[17].operand.ad.headline</fieldPath>
            <trigger></trigger>
...

As you can see, the part "isExemtable" is not right. The 'fef' string
(that seems to me used as new line separator in the response) should
not be there.

When I look at the communication, I can see many more proper reponses
sent by google and all those are smaller than 30KB. This one is larger
and has around 71KB, so it might be that the size might be the
"trigger".

Here is some more information:
1) I'm using only synchronous calls.
2) This is header of the faild SOAP response:

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 12 Feb 2010 11:37:15 GMT
Expires: Fri, 12 Feb 2010 11:37:15 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Server: GFE/2.0
X-XSS-Protection: 0

Please could you let me know where is the problem? I hope this can be
solved soon, because we're unable to update many of our clients since
yesterday.

-- 
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-...@googlegroups.com.
To unsubscribe from this group, send email to 
adwords-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en.

Reply via email to