Re: Special Char in text ad

2015-11-18 Thread Nadine Sundquist (AdWords API Team)
Hi Jesus, I talked it over with one of our people who knows Python around here. He agrees that this a tough one to solve with Python 2. His suggestion is, if you're setting the default encoding to utf-8, suds should accept Unicode string containing non-ASCII characters. You could alternatively

Re: Special Char in text ad

2015-11-17 Thread Nadine Sundquist (AdWords API Team)
Hi Jesus, I'm not a Python expert, so I'm going to ask around to see if one of my colleagues has tried this before. I'll get back to you when I have an answer. Best, Nadine, AdWords API Team On Tuesday, November 17, 2015 at 10:55:42 AM UTC-5, jesus.rom...@ogilvy.com wrote: > > Hi, I already t

Re: Special Char in text ad

2015-11-17 Thread jesus . romero
Hi, I already try changing the default encoding but still doesn't works, can you tell me the encoding that the mutate function is suposed to read? becausa I have tried with unicode, UTF-8 and iso-8859-15 but with all of that I keep getting the same error. I don't know what the mutate function

Re: Special Char in text ad

2015-11-16 Thread Umesh Dengale
Hello, This appears to be an issue with how suds handles Unicode in Python 2. That said, it's pretty easy to work around this--all you have to do is send Unicode content in a Unicode string rather than encoding it. You could change your default encoding as seen in PEP 0263

Special Char in text ad

2015-11-16 Thread jesus . romero
Hi, I'm using the API with python everythin gis working fine until I try to upload a text ad with the word MaƱana in it. i'm using the Service: 'AdGroupAdService' and the version='v201509'. But I finded imposible to uploaded I kee getting the folloween error: UnicodeDecodeError: