More details.  Below are the http headers from AdWords and from Baidu
for pulling CSV files via http GET that have Chinese characters in
them.  Note that AdWords forces the character set to UTF-8, where
Baidu doesn't specify it.  I think this is pertinent, because I can
tell Java what character set to interpret the data as for the Baidu
download, and that seems to work.  But it is also important to
remember that the only character set the Baidu API has to deal with is
for Chinese characters, whereas AdWords has to deal with all character
sets.  As we start pulling other non-Latin character set performance
data in CSV format files, this is going to become an important need.

Adwords:
HTTP/1.1 200 OK Content-Disposition: attachment; filename="Keyword
Perf Rpt Without Conversions.csv" Connection: close Expires: Fri, 01
Jan 1990 00:00:00 GMT Date: Thu, 13 Jan 2011 18:38:06 GMT Server: GSE
X-Frame-Options: SAMEORIGIN Pragma: no-cache Cache-Control: no-cache,
no-store, max-age=0, must-revalidate X-XSS-Protection: 1; mode=block
Content-Type: text/csv; charset=UTF-8 X-Content-Type-Options: nosniff

Baidu:
HTTP/1.1 200 OK Content-Disposition: attachment;
filename=20110113-190532.csv Connection: close Accept-Ranges: bytes
Date: Thu, 13 Jan 2011 11:15:21 GMT Server: Apache Content-Length:
27308 ETag: "1ed4076-6aac-499b84bd31700" Last-Modified: Thu, 13 Jan
2011 11:05:32 GMT Content-Type: text/csv

Hope this helps narrow things down,
-reed

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@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