Hi all! I have a problem that turned up recently and never happened before: The checkAds() method of the AdService will reject ads that have umlauts in their displayURL.
What is strange for me first: This is just the displayURL, so umlauts shouldnt be a problem and allowed to be set? I couldnt find anything in the adwords-api reference or in this group, that states that umlauts are not allowed for displayURLs. And what is strange for me second: I can see the umlaut (not encoded) in the request xml, where it looks like this: <displayUrl>partnerhandwerker.de/Bäcker</displayUrl> The XML i get as response from the adwords-server looks like this: <soapenv:Body> <checkAdsResponse xmlns="https://adwords.google.com/api/adwords/ v13"> <checkAdsReturn> <code>51</code> <detail>These characters are not allowed: ä</detail> <field>displayUrl</field> <index>0</index> <isExemptable>false</isExemptable> <textIndex xsi:nil="true"/> <textLength xsi:nil="true"/> <trigger>partnerhandwerker.de/Bäcker</trigger> </checkAdsReturn> </checkAdsResponse> </soapenv:Body> So everything seems to be fine here, according to request and response here, but i get following exception (just copying the relevant part): System.InvalidOperationException: Error in XML-Dokument (16,32). ---> System.FormatException: The input string has wrong Format. bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) bei System.Xml.XmlConvert.ToInt32(String s) bei Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAdService.Read41_ApiError (Boolean isNullable, Boolean checkType) bei Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAdService.Read46_checkAdsResponse () bei Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer3.Deserialize (XmlSerializationReader reader) bei System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) And this is what i dont understand here: According to the response XML, the Api-Error Number 51 should be parsed as Integer without problems, but i get this exception, stating that the proxy class is trying to parse a non-int value. Anybody a clue on this one??? Im i missing something here? regards, --qu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
