Hi,

Please see the following thread for more information:

  
http://groups.google.com/group/adwords-api/browse_thread/thread/c28c21e1d7a2a837/df651da58a50fe31#df651da58a50fe31

Best,
- Eric Koleda, AdWords API Team

On Jun 8, 6:28 am, yaniv <sai...@gmail.com> wrote:
> Hello
> i want to get an exact results for any string that enter even for a
> few words.
> i try this code first
>  Keyword[] kwa = new Keyword[arr.Length];
>         foreach (string optionName in arr)
>         {
>             if (optionName != "")
>             {
>                 kwa[i] = new Keyword();
>                 kwa[i].text = optionName;
>                 if (ddlMatchType.SelectedValue == "exact")
>                     kwa[i].matchType = KeywordMatchType.EXACT;
>                 else if (ddlMatchType.SelectedValue == "broad")
>                     kwa[i].matchType = KeywordMatchType.BROAD;
>                 else if (ddlMatchType.SelectedValue == "phrase")
>                     kwa[i].matchType = KeywordMatchType.PHRASE;
>                 kwa[i].matchTypeSpecified = true;
>                 i++;
>             }
>         }
>
> and it did'nt work, so i thought that the problem lie with the fact
> that each word given exact order, so i change the code to
>
> Keyword[] kwa = new Keyword[1];
>         i = 0;
>         kwa[0] = new Keyword();
>         kwa[0].text  = txtKeyWord.Text;
>         if (ddlMatchType.SelectedValue == "exact")
>             kwa[0].matchType = KeywordMatchType.EXACT;
>         else if (ddlMatchType.SelectedValue == "broad")
>             kwa[0].matchType = KeywordMatchType.BROAD;
>         else if (ddlMatchType.SelectedValue == "phrase")
>             kwa[0].matchType = KeywordMatchType.PHRASE;
>         kwa[0].matchTypeSpecified = true;
>
> only one search for the entire word
> still i get broad result,
> and another thing that is strange is that for each search i am doing i
> get 3 different number of results!!!
>
> please help
> thank you

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to