Keyword MatchTypes

8 views
Skip to first unread message

veselin....@gmail.com

unread,
May 11, 2015, 12:57:33 PM5/11/15
to adwor...@googlegroups.com
Hello guys.

I have a script that deals with getting Keyword Ideas form Google Adwords. Earlier in the Keyword Planner console there were options for MatchTypes for your keywords(Broad, Phrase, Exact). Now I can't find them in the console, but I think they were replaced with this option: "Only show ideas closely related to my search terms". Although it doesn't return the same results as 'Exact' matchType used to, it is much better then the default setting.

So, I am wondering, how do I do that using the API. How do I set that parameter. I tried using ExcludedKeywordSearchParameter, and excluding 'Broad' and 'Phrase' terms, but the results just aren't the same.

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.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages