Re: Adwords API get keywords with ruby on rails

2013-08-08 Thread Alex
So I discovered what I did wrong, def self.get_keywords_list(response) result = {} if response[:entries] response[:entries].each do |api_keyword| keyword = Keyword.new(api_keyword) result[keyword.id] = keyword end end return result end In my response

Re: Adwords API get keywords with ruby on rails

2013-08-08 Thread Alex
Nobody? On Tuesday, August 6, 2013 11:37:08 AM UTC+1, Alex wrote: > > Hello, > > I took the ruby on rails example, and tried to add to it a view which is > displaying the keywords from an AdGroup, I am able to get the keywords, and > the total no of keywords from a campaign but I don't know why

Adwords API get keywords with ruby on rails

2013-08-07 Thread Alex
Hello, I took the ruby on rails example, and tried to add to it a view which is displaying the keywords from an AdGroup, I am able to get the keywords, and the total no of keywords from a campaign but I don't know why I can not display them in the view. keyword model: class Keyword attr_rea