what stands NgramsGroups for?

43 views
Skip to first unread message

keesjan

unread,
Nov 9, 2009, 7:36:25 AM11/9/09
to AdWords API Forum
Wat means: NgramsGroups. is that the category group a keyword belongs
too?

http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.NgramGroupsSearchParameter.html

AdWords API Advisor

unread,
Nov 9, 2009, 12:19:11 PM11/9/09
to AdWords API Forum
Hi,

I will have to follow up with the core engineering team to get more
information.

Best,
- Eric Koleda, AdWords API Team

On Nov 9, 7:36 am, keesjan <adwo...@interneteffect.com> wrote:
> Wat means: NgramsGroups. is that the category group a keyword belongs
> too?
>
> http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...

keesjan

unread,
Nov 9, 2009, 3:13:24 PM11/9/09
to AdWords API Forum
Ok thanks in forworth,
this gives me a kind of feeling the the documentation can do better,
isn't?

On Nov 9, 6:19 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:

AdWords API Advisor

unread,
Nov 10, 2009, 11:25:44 AM11/10/09
to AdWords API Forum
Hi,

I've talked with the engineers that developed this parameter and they
have given me the following description:

A keyword is assigned to the ngram group with the longest matching
substring. Ngram groups are defined as substrings that that appear
more than n times in the result set (where n is defined by the AdWords
system).

An ngram group is like a stem keyword. It is a substring of the
keyword that is common to many other keywords. Here are some examples

[keyword] => [ngram group]
car => car
car leasing => car
car rental => car rental
car rental coupons => car rental

The substring "car leasing" is not common enough to have its own ngram
group, so it goes in the "car" group. However "car rental" is a very
common substring, so it has its own ngram group, which includes "car
rental coupons". You can find out the ngram group of a keyword idea
by including the requestedAttributeType NGRAM_GROUP.

This parameter can be useful when you want to get keyword ideas that
are variations on an existing keyword. If you don't use an
NgramGroupsSearchParameter the following keyword ideas are returned
for the seed keyword "car rental":

car rentals
rental car
car hire
cheap hire car
airport

However, if you include a NgramGroupsSearchParameter with the ngram
group "car rental" the results are limited to variations of that
keyword:

car rental cheap
luxury car rental
airport car rental
cheapest car rental

Let me know if you have any other questions.

Best,
- Eric

keesjan

unread,
Nov 11, 2009, 9:11:19 AM11/11/09
to AdWords API Forum
Eric,
thanks for your explanation, that does make sense!
1 question:
> However, if you include a NgramGroupsSearchParameter with the ngram
> group "car rental" the results are limited to variations of that
> keyword:

That is only possible after getting back first batch of keywords with
there Ngram name.
Then do a second call to get only the ngram group "car rental" out of
it?

Will the first batch contain all kewyord variations for "car rental"?
Or is the second call with the NgramGroupsSearchParameter with the
ngram
group "car rental" a more complete list or yust a sublist of teh first
call?

On Nov 10, 5:25 pm, AdWords API Advisor <adwordsapiadvi...@google.com>

AdWords API Advisor

unread,
Nov 11, 2009, 9:29:29 AM11/11/09
to AdWords API Forum
Hi,

You could guess the ngram group on the first request, but it may not
produce any results. I think a two request approach is probably best.

Using an NgramGroupsSearchParameter will only act as a filter,
producing a subset of the original list.

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