Hi, Please see the following thread for more information:
http://www.google.com/url?sa=D&q=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fadwords-api%2Fbrowse_thread%2Fthread%2Fc28c21e1d7a2a837 Best, - Eric Koleda, AdWords API Team On Apr 22, 8:44 pm, Jlaprise <jared.lapr...@gmail.com> wrote: > I'm using the AdWords API in order to find related keywords along with > the competition level, search volume and monthly average volume. I > have finally got everything working with the V2009 API version but am > experiencing a couple very odd results. > > - I get 3 entries for every keyword each containing completely > different metrics for each matching keyword instance. > - Although I get 3 sets of conflicting data per keyword, none of the > metrics match what is returned by the V13 service. The results in the > V13 service match the results found using the Google Keyword Tool > (https://adwords.google.com/select/KeywordToolExternal) > > Here is a sample of the Ruby code I'm using to make the call: > > latest = AdWords::Service.latest_version > api = > AdWords::API.new(AdWords::AdWordsCredentials.new(GOOGLE_API_CREDENTIALS)) > svc = api.get_service('TargetingIdea', latest) > > page_results = 100 > > selector = svc.module::TargetingIdeaSelector.new > > keyword_parameter = > svc.module::RelatedToKeywordSearchParameter.new > kwd = svc.module::Keyword.new > kwd.text = self.name > kwd.matchType = 'BROAD' > keyword_parameter.keywords = [kwd] > > selector.searchParameters = [keyword_parameter] > selector.ideaType = 'KEYWORD' > selector.requestType = 'STATS' > selector.requestedAttributeTypes = %w(KEYWORD > TARGETED_MONTHLY_SEARCHES AVERAGE_TARGETED_MONTHLY_SEARCHES > COMPETITION) > > selector.paging = svc.module::Paging.new > selector.paging.startIndex = 0 > selector.paging.numberResults = page_results > > page = svc.get(selector) > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Have you migrated to v200909 yet? > The v13 sunset is on April 22, 2010. > > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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