Hi Olemis, Using those search parameters I get back a count for every month except October (expected). Do you have the requestId of a request that exhibits this behavior?
In regards to null values, the SOAP API will always omit a field from the response if the value is null. When translated to a python dictionary this will mean the dictionary won't contain an entry for the field. For values that may be null it is a best practice to first check to see if the field is in the dictionary before using it. Best, - Eric On Nov 1, 10:18 am, Olemis Lang <[email protected]> wrote: > On Sat, Oct 30, 2010 at 12:12 AM, AdWords API Advisor > > <[email protected]> wrote: > > Hi Olemis, > > :o) > > Thnx for your reply . > > > When there is no monthly search volume data the count will be returned > > as null. > > AFAICS , there's a difference between a response with all `count`(s) > set to `null` and another one with no `count` at all. If the API > specifies that `count` will be there and I rely on that information, > then in the first case, in Python, I get a `None` back whereas in the > later my app is broken. Since `count` is never set then apps will be > broken all the time (at least using the sandbox ...). Hopefully in > Python we can work around this (e.g. x.get('count') ) but I'm not sure > about other situations &| programming languages &| ... Besides there > are no values at all (never), and a list of 12th most recent months is > not exactly what I'd be expecting ... > > > What search parameters are you using in the query? > > If you talk about the selector, please use link below . That happened > using v201008 sandbox . > > > > > On Oct 29, 11:23 am, Olemis Lang <[email protected]> wrote: > >> On Thu, Oct 28, 2010 at 11:05 AM, Olemis Lang <[email protected]> wrote: > > [...] > > >> PS: BTW this is the code [2]_ (kind of ...) > > [...] > >> .. [2] Google Adwords keyword error #3 > >> (http://simelo.pastebin.com/ZeRx54nP) > > -- > Regards, > > Olemis. > > Blog ES:http://simelo-es.blogspot.com/ > Blog EN:http://simelo-en.blogspot.com/ > > Featured article: -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
