Hi Vishal and thank you for your answer. The problem is base code and language id is correct. The problem is a little bit interesting let me explain if I can, and will send you logs if able to get them. I am using TargetingIdeaService stats not ideas...
If you select a Turkish word and make the language id 1037 it returns with NULL values but if you disable language selector it returns 0 as values. There are several thing I've mentioned like if the word is homonymous with another language word it fails... Why should I select the right language for word to make it work properly, it can just return 0 if there are no results. I can give samples like this as: "bol", "cep", "nice (not the English one :P)", etc. Thank you for your time. 7 Şubat 2017 Salı 17:20:59 UTC+3 tarihinde Mustafa yazdı: > > Hi, this is the very first question on this forum, sorry for any > mistakes... > > I am working with Google Adwords API 201609 for a while and after > finishing the basic coding tries Language() selector to identify language > specific results. But if I choose a language and there are no results for > keyword, its not returning 0 as result. Instead it fails and results become > NULL. If I try the same keyword without a language selector it gives me > zeros as results. Could you please tell me what is going wrong on this code? > > $languageParameter = new LanguageSearchParameter(); > $languageSet = new Language(); > $languageSet->setId(1000); > $languageParameter->setLanguages([$languageSet]); > $searchParameters[] = $languageParameter; > > Are there any rules that I don't know to set language for keywords with no > results? > > Thanks in advance... > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/2548b0e9-a001-4ff8-9bf6-ffd3e7b1f806%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.