Hi Alex, It looks you are running into a known issue where language filtering causes problems for STATS requests:
http://groups.google.com/group/adwords-api/browse_thread/thread/53b854406eca8293/c8dc05831be0ddc7?show_docid=c8dc05831be0ddc7 Please follow that other thread for updates. Best, - Eric On Oct 6, 4:36 pm, "alex.allah" <alex.al...@gmail.com> wrote: > Hi Eric, > > Here is my request, it is generated by Google php library: > > <?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="ns2:RequestHeader"><ns1:applicationToken>**********</ > ns1:applicationToken><ns1:authToken>**********</ > ns1:authToken><ns1:clientCustomerId>**********</ > ns1:clientCustomerId><ns1:developerToken>**********</ > ns1:developerToken><ns1:userAgent>PHP v5.3.2-1ubuntu4.5 - AdWords API > PHP Client Library - v1.2.2 - kdb app</ns1:userAgent></ > ns2:RequestHeader></SOAP-ENV:Header><SOAP- > ENV:Body><ns2:get><ns2:selector><ns2:searchParameters > xsi:type="ns2:RelatedToKeywordSearchParameter" xmlns:ns2="https:// > adwords.google.com/api/adwords/o/ > v200909"><ns2:keywords><ns1:text>hola</ns1:text><ns1:matchType>EXACT</ > ns1:matchType></ns2:keywords></ > ns2:searchParameters><ns2:searchParameters > xsi:type="ns2:KeywordMatchTypeSearchParameter" xmlns:ns2="https:// > adwords.google.com/api/adwords/o/ > v200909"><ns2:keywordMatchTypes>EXACT</ns2:keywordMatchTypes></ > ns2:searchParameters><ns2:searchParameters > xsi:type="ns2:LanguageTargetSearchParameter" xmlns:ns2="https:// > adwords.google.com/api/adwords/o/ > v200909"><ns2:languageTargets><ns1:languageCode>en</ns1:languageCode></ > ns2:languageTargets></ns2:searchParameters><ns2:ideaType>KEYWORD</ > ns2:ideaType><ns2:requestType>STATS</ > ns2:requestType><ns2:requestedAttributeTypes>KEYWORD</ > ns2:requestedAttributeTypes><ns2:requestedAttributeTypes>GLOBAL_MONTHLY_SEA > RCHES</ > ns2:requestedAttributeTypes><ns2:paging><ns1:startIndex>0</ > ns1:startIndex><ns1:numberResults>1</ns1:numberResults></ > ns2:paging><ns2:currencyCode>USD</ns2:currencyCode></ns2:selector></ > ns2:get></SOAP-ENV:Body></SOAP-ENV:Envelope> > > And here is response from AdWords server: > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ > envelope/"><soap:Header><ResponseHeader xmlns:ns2="https:// > adwords.google.com/api/adwords/cm/v200909" xmlns="https:// > adwords.google.com/api/adwords/o/ > v200909"><ns2:requestId>672f51617446f2a1adb6f99d3f89154f</ > ns2:requestId><ns2:operations>1</ns2:operations><ns2:responseTime>253</ > ns2:responseTime><ns2:units>6</ns2:units></ResponseHeader></ > soap:Header><soap:Body><getResponse xmlns="https://adwords.google.com/ > api/adwords/o/v200909" xmlns:ns2="https://adwords.google.com/api/ > adwords/cm/v200909"><rval><totalNumEntries>1</ > totalNumEntries><entries><data><key>KEYWORD</key><value > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="KeywordAttribute"><Attribute.Type>KeywordAttribute</ > Attribute.Type><value><ns2:Criterion.Type>Keyword</ > ns2:Criterion.Type><ns2:text>hola</ns2:text><ns2:matchType>EXACT</ > ns2:matchType></value></value></ > data><data><key>GLOBAL_MONTHLY_SEARCHES</key><value > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="LongAttribute"><Attribute.Type>LongAttribute</ > Attribute.Type></value></data></entries></rval></getResponse></ > soap:Body></soap:Envelope> > > As you can see, there are no value for GLOBAL_MONTHLY_SEARCHES > > Best, > Alex. > > On Oct 5, 9:53 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > > > > > Hi Alex, > > > Is the Keyword Tool web interface returning a value greater than 0? > > Can you post the sanitized SOAP XML request that you are using to > > fetch this data? > > > Best, > > - Eric Koleda, AdWords API Team > > > On Oct 1, 9:30 pm, "alex.allah" <alex.al...@gmail.com> wrote: > > > > Hello, > > > > I have a very strange problem with AdWords API. For most keywords I am > > > receiving normal global monthly searches integer value: 0, 1000, 433, > > > etc. It is good data and it is equal to your web tool. But for some > > > keywords, like "hola", I have NULL, just NULL, not 0, it is NULL. Such > > > keywords could have any number in the tool from 0 and higher, but it > > > is always NULL via API. > > > > In my current project this data is very important for me, I have an > > > API, I'm paying for it, but I can't use it for some keywords. > > > > I am using PHP API v200909 > > > > Best, > > > Alex. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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