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
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
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