AdWords API Re: getKeywordsFromSite _ output has wrong encoding

2008-08-23 Thread bramiozo
Thanks Jan, I'll take a look at the Apility forum. On Aug 23, 3:07 pm, Jan <[EMAIL PROTECTED]> wrote: > Hey Bram, > > there is a PHP library for Adwords API that also uses nusoap. As far > as I know there were some other changes necessary to get it working > properly, perhaps you want to have a l

AdWords API Re: getKeywordsFromSite _ output has wrong encoding

2008-08-23 Thread Jan
Hey Bram, there is a PHP library for Adwords API that also uses nusoap. As far as I know there were some other changes necessary to get it working properly, perhaps you want to have a look at it if you encounter future problems: http://google-apility.sourceforge.net/ - Jan On 23 Aug., 13:23, b

AdWords API Re: getKeywordsFromSite _ output has wrong encoding

2008-08-23 Thread bramiozo
Found it Jeff, the encoding of the nuSoap class is set to iso-8859-1 by default, changed that to UTF-8. var $soap_defencoding = 'UTF-8'; (everywhere) var $xml_encoding = 'UTF-8'; (class.soap_server.php) var $decode_utf8 = false; (everywhere) Add to function serializeEnvelope(...) in class.nus

AdWords API Re: getKeywordsFromSite _ output has wrong encoding

2008-08-22 Thread AdWords API Advisor
Hello Bramiozo, All communications with the AdWords API should be encoded as UTF-8. I'm not sure why you're sending in seed URLs encoded as euc-kr, but I'd recommend sending them in as UTF-8 encoded text to ensure that they're not misinterpreted. As for the response, those too should be encode

AdWords API Re: getKeywordsFromSite _ output has wrong encoding

2008-08-22 Thread bramiozo
Anyone, the tool is rather useless if it outputs ASCII On Aug 21, 7:31 pm, bramiozo <[EMAIL PROTECTED]> wrote: > function googleKeywordFromSite($seedUrl, > $language=0,$locale=0,$includeLinks=0){ > //http://www.google.com/apis/adwords/developer/KeywordToolService.html > >         IF($language