Hi guys. I have a script that using the Adwords API returns keyword ideas for given keyword. Earlier in the Google Keyword Planner console there was a option to filter the keywords by match type: Broad, Phrase, Exact. Now it seems it is replaced with this option: 'Only show ideas closely related to my search terms'. Although it don't return the same keywords as 'Exact' option used to do, it is much better then the default option.
My question is, how do I do this in code? How do I enable this option in Keyword Planner API? I tried using ExcludedKeywordSearchParameter, and excluding the keywords with 'Broad' and 'Phrase' Match types, but the results still differ. Here is a portion of my code: $excludeSearchParameter = new ExcludedKeywordSearchParameter(); $kwrd = new Keyword(); $kwrd->text = $keyword; $kwrd->matchType = 'BROAD'; $kwrd1 = new Keyword(); $kwrd1->text = $keyword; $kwrd1->matchType = 'PHRASE'; $excludeSearchParameter->keywords = array($kwrd, $kwrd1); ... $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter(); $relatedToQuerySearchParameter->queries = array($keyword); $selector->searchParameters[] = $relatedToQuerySearchParameter; $selector->searchParameters[] = $excludeSearchParameter; ... Any help would be appreciated. Thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/27d46031-bfe5-46d9-be73-216e1c74a97f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.