Hi Veso, You are going in the right direction. Make sure to send both *RelatedToQuerySearchParameter* and *IdeaTextFilterSearchParameter *at the same time in the request as shown in this forum post <https://groups.google.com/d/msg/adwords-api/A-qwBfn78Vk/dceoy1zGOJQJ>. We have a Python code example <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201502/optimization/get_keyword_ideas.py> that is close to what you need. You will still need to add *IdeaTextFilterSearchParameter *to the example as another search parameter.
Welcome to the AdWords API, Nadine, AdWords API Team On Tuesday, April 14, 2015 at 8:54:43 AM UTC-4, Veso wrote: > > > Hello, > > I am currently trying out the Adwords API for the first time. I am using > the TargetingIdeaService to get some keyword ideas and everything seems to > be working fine. I am running into one problem though: > > I want to be able to set the filter "Only show ideas closely related to my > search terms" just as it is possible in the front-end of the keyword planer > tool to true. > > I can't seem to find this option anywhere in the API documentation and > numerous searches in this forum (and elsewhere) have not been helping. The > search parameter I am using is "RelatedToQuerySearchParameter". > > I have tried using the 'IdeaTextFilterSearchParameter' parameter instead, > as suggested by someone smarter than me, but I get the > "TargetingIdeaError.INSUFFICIENT_SEARCH_PARAMETERS @ > selector.searchParameters" error every time I try it, even though I am > populating the "included" and "excluded" strings. > > FYI: The API version is: v201502 and the library I am using is Python > > Can someone point to a way I can filter only closely related keywords (if > at all possible) ? > > Thank you. > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 --- 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 [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e588d4bd-067f-4bfe-b396-acfbb1e76bf7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
