Hi,
I ran a test using words with accents and some of them dont return any
data (when the keyword tool does).
café, language: spanish, country: spain returns nothing for the last
12 months using the API.
using the web keyword tool it returns 135,000 for last month.
something i noticed from the returned xml is that the top part shows
the word with the accent
<ns2:keywords>
<ns1:text>café</ns1:text>
<ns1:matchType>BROAD</ns1:matchType>
</ns2:keywords>
but the bottom part shows the word encoded, not sure if that means
anything
<ns2:value>
<Criterion.Type>Keyword</Criterion.Type>
<text>café</text>
<matchType>BROAD</matchType>
</ns2:value>
the word caffè (notice the different accent) does return values. all
countries all languages.
[Jul 16 2010 09:42:41.000000 - INFO] POST /api/adwords/o/v200909/
TargetingIdeaService HTTP/1.1
Host:
adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.3.0, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 804
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="
https://adwords.google.com/api/adwords/cm/
v200909" xmlns:ns2="
https://adwords.google.com/api/adwords/o/v200909"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns2:RequestHeader xsi:type="ns1:RequestHeader">
<ns1:applicationToken/>
<ns1:authToken>*****</ns1:authToken>
<ns1:developerToken>*****</ns1:developerToken>
<ns1:userAgent>AwApi-PHP-2.1.0-adwords api test</ns1:userAgent>
</ns2:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns2:get>
<ns2:selector>
<ns2:searchParameters xmlns:ns2="
https://adwords.google.com/
api/adwords/o/v200909" xsi:type="ns2:RelatedToKeywordSearchParameter">
<ns2:keywords>
<ns1:text>café</ns1:text>
<ns1:matchType>BROAD</ns1:matchType>
</ns2:keywords>
</ns2:searchParameters>
<ns2:searchParameters xmlns:ns2="
https://adwords.google.com/
api/adwords/o/v200909" xsi:type="ns2:CountryTargetSearchParameter">
<ns2:countryTargets>
<ns1:countryCode>ES</ns1:countryCode>
</ns2:countryTargets>
</ns2:searchParameters>
<ns2:searchParameters xmlns:ns2="
https://adwords.google.com/
api/adwords/o/v200909" xsi:type="ns2:LanguageTargetSearchParameter">
<ns2:languageTargets>
<ns1:languageCode>es</ns1:languageCode>
</ns2:languageTargets>
</ns2:searchParameters>
<ns2:ideaType>KEYWORD</ns2:ideaType>
<ns2:requestType>STATS</ns2:requestType>
<ns2:requestedAttributeTypes>KEYWORD</
ns2:requestedAttributeTypes>
<ns2:requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</
ns2:requestedAttributeTypes>
<ns2:paging>
<ns1:startIndex>0</ns1:startIndex>
<ns1:numberResults>500</ns1:numberResults>
</ns2:paging>
</ns2:selector>
</ns2:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Encoding: gzip
Transfer-Encoding: chunked
Date: Fri, 16 Jul 2010 09:42:41 GMT
Expires: Fri, 16 Jul 2010 09:42:41 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ns2:ResponseHeader xmlns:ns2="
https://adwords.google.com/api/
adwords/o/v200909" xmlns="
https://adwords.google.com/api/adwords/cm/
v200909">
<requestId>53624ba785e54f5b27d0150b6e3f7da5</requestId>
<operations>1</operations>
<responseTime>392</responseTime>
<units>6</units>
</ns2:ResponseHeader>
</soap:Header>
<soap:Body>
<ns2:getResponse xmlns="
https://adwords.google.com/api/adwords/cm/
v200909" xmlns:ns2="
https://adwords.google.com/api/adwords/o/v200909">
<ns2:rval>
<ns2:totalNumEntries>1</ns2:totalNumEntries>
<ns2:entries>
<ns2:data>
<ns2:key>TARGETED_MONTHLY_SEARCHES</ns2:key>
<ns2:value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-
instance" xsi:type="ns2:MonthlySearchVolumeAttribute">
<ns2:Attribute.Type>MonthlySearchVolumeAttribute</
ns2:Attribute.Type>
<ns2:value>
<ns2:year>2010</ns2:year>
<ns2:month>6</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2010</ns2:year>
<ns2:month>5</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2010</ns2:year>
<ns2:month>4</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2010</ns2:year>
<ns2:month>3</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2010</ns2:year>
<ns2:month>2</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2010</ns2:year>
<ns2:month>1</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2009</ns2:year>
<ns2:month>12</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2009</ns2:year>
<ns2:month>11</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2009</ns2:year>
<ns2:month>10</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2009</ns2:year>
<ns2:month>9</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2009</ns2:year>
<ns2:month>8</ns2:month>
</ns2:value>
<ns2:value>
<ns2:year>2009</ns2:year>
<ns2:month>7</ns2:month>
</ns2:value>
</ns2:value>
</ns2:data>
<ns2:data>
<ns2:key>KEYWORD</ns2:key>
<ns2:value xmlns:xsi="
http://www.w3.org/2001/XMLSchema-
instance" xsi:type="ns2:KeywordAttribute">
<ns2:Attribute.Type>KeywordAttribute</
ns2:Attribute.Type>
<ns2:value>
<Criterion.Type>Keyword</Criterion.Type>
<text>café</text>
<matchType>BROAD</matchType>
</ns2:value>
</ns2:value>
</ns2:data>
</ns2:entries>
</ns2:rval>
</ns2:getResponse>
</soap:Body>
</soap:Envelope>