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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/decde138-a767-471a-ac0b-7619e9dcb3f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to