adding a google calendar to ical
I want to add my google calendar to iCal. But can't seem to do it. I've gone to ical >preferences> adding account (selected google added e-mail and password) but doesn't work. I've also tried going into System Preferences > mail, contacts and calendar (and selected google, entered my e-mail and password) And maybe a second later - get "connection failed". (Yes, on wifi and no issues with it).
I'm on an iMac OS X.
Help?