In  dot net program i have made some changes in GetRelatedKeywords.cs

      string keywordText = Keyword;
      Keyword keyword = new Keyword();
      keyword.text = keywordText;
      keyword.matchTypeSpecified = true;
      keyword.matchType = KeywordMatchType.BROAD ;
      RelatedToKeywordSearchParameter searchParameter = new
RelatedToKeywordSearchParameter();
      searchParameter.keywords = new Keyword[] {keyword};

      TargetingIdeaSelector selector = new TargetingIdeaSelector();
      selector.searchParameters = new SearchParameter[]
{ searchParameter };
      selector.ideaTypeSpecified = true;
      selector.ideaType = IdeaType.KEYWORD;
      selector.requestTypeSpecified = true;
      selector.requestType = RequestType.IDEAS;
      selector.localeCode = "en_US";
        selector.requestedAttributeTypes= new AttributeType[]
{AttributeType.KEYWORD,
        AttributeType.COMPETITION,AttributeType.IDEA_TYPE,
        AttributeType.NGRAM_GROUP,
AttributeType.GLOBAL_MONTHLY_SEARCHES };
       Paging paging = new Paging();
      paging.startIndex = 0;
      paging.startIndexSpecified = true;
      paging.numberResults = 50;
      paging.numberResultsSpecified = true;

      selector.paging = paging;
      TargetingIdeaPage page = targetingIdeaService.get(selector);


in the AttributeType[] there is no provision to specify the estimated
average cpc.





-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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

Reply via email to