I think I understand now. By providing the KeywordType, all that
changes are the variations in the results you get back, not the
"avgSearchVolume" for the keyword or its variations; unlike say if you
were to enter it into google search using(mazda rx7, "mazda rx7",
[mazda rx7]) would yield different results which I was expecting with
KeywordToolService. Gotcha!
I decided to try it out before I posted the above. I used a few
different keywords; the variations I received were identical for each
KeywordType. Am I doing something wrong? (c#)
private void getKeywordTools()
{
string term = "rx7";
string clientEmail = "[email protected]";
SeedKeyword keyword;
KeywordVariations variations;
string email = ConfigurationSettings.AppSettings["adwords_login_id"];
string password = ConfigurationSettings.AppSettings
["adwords_password"];
string useragent = ConfigurationSettings.AppSettings
["adwords_useragent"];
string developerToken = ConfigurationSettings.AppSettings
["adwords_developerToken"];
string applicationToken = ConfigurationSettings.AppSettings
["adwords_applicationToken"];
KeywordToolService service = new KeywordToolService();
service.emailValue = new Google.KeywordToolService.email();
service.emailValue.Text = new String[] { email };
service.passwordValue = new Google.KeywordToolService.password();
service.passwordValue.Text = new String[] { password };
service.clientEmailValue = new Google.KeywordToolService.clientEmail
();
service.clientEmailValue.Text = new String[] { clientEmail };
service.useragentValue = new Google.KeywordToolService.useragent();
service.useragentValue.Text = new String[] { useragent };
service.developerTokenValue = new
Google.KeywordToolService.developerToken();
service.developerTokenValue.Text = new String[] { developerToken };
service.applicationTokenValue = new
Google.KeywordToolService.applicationToken();
service.applicationTokenValue.Text = new String[]
{ applicationToken };
keyword = new SeedKeyword();
keyword.text = term;
keyword.type = Google.KeywordToolService.KeywordType.Broad;
variations = service.getKeywordVariations(new SeedKeyword[]
{ keyword }, true, new string[] { "en" }, new string[] { "US" });
Repeater1.DataSource = variations.moreSpecific;
Repeater1.DataBind();
keyword = new SeedKeyword();
keyword.text = term;
keyword.type = Google.KeywordToolService.KeywordType.Exact;
variations = service.getKeywordVariations(new SeedKeyword[]
{ keyword }, true, new string[] { "en" }, new string[] { "US" });
Repeater2.DataSource = variations.moreSpecific;
Repeater2.DataBind();
keyword = new SeedKeyword();
keyword.text = term;
keyword.type = Google.KeywordToolService.KeywordType.Phrase;
variations = service.getKeywordVariations(new SeedKeyword[]
{ keyword }, true, new string[] { "en" }, new string[] { "US" });
Repeater3.DataSource = variations.moreSpecific;
Repeater3.DataBind();
}
On Jun 23, 11:04 am, AdWords API Advisor
<[email protected]> wrote:
> Hello,
>
> There's a blog post that explains this behavior:
>
> http://adwordsapi.blogspot.com/2009/01/keyword-match-type-and.html
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Jun 23, 10:31 am, EvilGuyWhoEatsBrains <[email protected]>
> wrote:
>
> > The info I'm looking to get from adwords is the search volume using
> > the broad, exact and phrase KeywordType's. I thought the
> > KeywordToolService api would be perfect for this. However, I receive
> > the same results back for each of those KeywordType's.
>
> > Example: I submit "rx7" and receive 1220000 for broad, exact and
> > phrase having to make multiple calls to the api (plus their variations
> > results which I'm not interested in).
>
> > Also, when I add the same keyword using each of the KeywordTypes to a
> > SeedKeyword array, I only receive one result back for that keyword.
> > I'd hate to have to make multiple calls to the api for obvious
> > reasons.
>
> > Example:
> > I send this SeedKeyword array...
> > text="rx7", type=broad
> > text="rx7", type=exact
> > text="rx7", type=phrase
> > text="gto", type=broad
> > text="gto", type=exact
> > text="gto", type=phrase
>
> > I receive this...
> > text="rx7"
> > text="gto"
> > (plus the variations but no KeywordType)
>
> > Am I doing this right? Are these the results I should be getting back?
> > Is there a better approach to this I'm not aware of?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---