Removing "additional keywords to consider" from TargetingIdeaSelector results

38 views
Skip to first unread message

Tony

unread,
Nov 30, 2009, 12:35:23 PM11/30/09
to AdWords API Forum
How can I remove the "additional keywords to consider" from the
results returned by the TargetingIdeaSelector API in v2009?

For instance, if I query "life insurance" the results returned include
keywords like "home insurance" and "business insurance" which don't
have anything to do with "life insurance".

In the deprecated API the KeywordToolService returns two arrays, one
is called moreSpecific and one is called additionalToConsider and so
we can just ignore the second array but I can't find any way to remove
this data in TargetingIdeaSelector.

AdWords API Advisor

unread,
Nov 30, 2009, 2:55:41 PM11/30/09
to AdWords API Forum

Tony

unread,
Dec 1, 2009, 3:21:03 PM12/1/09
to AdWords API Forum
Ok I've been able to filter it some now. Next problem, the results are
not what you would expect. For instance searching for 'life insurance'
returns the following:
http://pastie.org/private/9274tfdtvzi4qorw7d5pw

I read in another thread where you state this new tool should return
data such as that returned from sktool. Yet when I run sktool I get
much better results. For example 'term life insurance' is the second
result in the sktool when I search for related keywords to "life
insurance" but isn't even featured in the list returned by the API.


On Nov 30, 2:55 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Tony,
>
> The solution is to use the NgramGroupsSearchParameter.  More
> information is available here:
>
>  http://groups.google.com/group/adwords-api/browse_thread/thread/dd91f...
>  http://groups.google.com/group/adwords-api/browse_thread/thread/b1d31...
>  http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...

AdWords API Advisor

unread,
Dec 2, 2009, 12:41:38 PM12/2/09
to AdWords API Forum
Hi Tony,

For the example seed keyword "life insurance", I am seeing the keyword
idea "term life insurance" returned, although it is about 300 results
down. More generally though, while the Search-based Keyword Tool and
the TargetingIdeaService are based on similar technology it may not
always be possible to get a perfect 1-to-1 match for the results.

Best,
- Eric

Tony

unread,
Dec 2, 2009, 1:10:17 PM12/2/09
to AdWords API Forum
Would it be possible for you to paste the code you used to query this?
I think there must be something wrong with our code b/c we only get
back 347 related keywords and 'term life insurance' is not in the list
returned.

On Dec 2, 12:41 pm, AdWords API Advisor <adwordsapiadvi...@google.com>

AdWords API Advisor

unread,
Dec 2, 2009, 1:21:07 PM12/2/09
to AdWords API Forum
Hi Tony,

Here is my selector:

<o:selector>
<o:searchParameters xsi:type="o:RelatedToKeywordSearchParameter">
<o:keywords>
<cm:text>life insurance</cm:text>
<cm:matchType>BROAD</cm:matchType>
</o:keywords>
</o:searchParameters>
<o:searchParameters xsi:type="o:KeywordMatchTypeSearchParameter">
<o:keywordMatchTypes>BROAD</o:keywordMatchTypes>
</o:searchParameters>
<o:searchParameters xsi:type="o:LanguageTargetSearchParameter">
<o:languageTargets>
<cm:languageCode>en</cm:languageCode>
</o:languageTargets>
</o:searchParameters>
<o:searchParameters xsi:type="o:CountryTargetSearchParameter">
<o:countryTargets>
<cm:countryCode>US</cm:countryCode>
</o:countryTargets>
</o:searchParameters>
<o:ideaType>KEYWORD</o:ideaType>
<o:requestType>IDEAS</o:requestType>
<o:paging>
<cm:startIndex>0</cm:startIndex>
<cm:numberResults>800</cm:numberResults>
</o:paging>
</o:selector>

Best,
- Eric

Tony

unread,
Dec 4, 2009, 11:23:30 AM12/4/09
to AdWords API Forum
This is our selector:
http://pastie.org/private/bi4fabpzwn3p8emhi4kyw

and the results we get (no mention of "term life insurance" which
should be at top of the list):
http://pastie.org/private/nuabfggz1sghe8rseaktfw

Do you see anything wrong with our selector?

Thank you very much for your help.

On Dec 2, 1:21 pm, AdWords API Advisor <adwordsapiadvi...@google.com>

AdWords API Advisor

unread,
Dec 4, 2009, 6:23:10 PM12/4/09
to AdWords API Forum
Hi Tony,

The reason you are not getting "term life insurance" back as a result
is because you are using the NgramGroupsSearchParameter. The keyword
"term life insurance" has enough popular variations to warrant it's
own ngram group:

<entries>
<data>
<key>KEYWORD</key>
<value xsi:type="KeywordAttribute" xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
<Attribute.Type>KeywordAttribute</Attribute.Type>
<value>
<ns2:Criterion.Type>Keyword</ns2:Criterion.Type>
<ns2:text>term life insurance</ns2:text>
<ns2:matchType>BROAD</ns2:matchType>
</value>
</value>
</data>
<data>
<key>NGRAM_GROUP</key>
<value xsi:type="StringAttribute" xmlns:xsi="http://www.w3.org/
2001/XMLSchema-instance">
<Attribute.Type>StringAttribute</Attribute.Type>
<value>term life insurance</value>
</value>
</data>
</entries>

Best,
- Eric
Reply all
Reply to author
Forward
0 new messages