Under the Rules, advice is anything said or done to influence a player's choice of club, how to play a stroke or how to play a hole.

During a round you can only give advice to, or ask for advice from, your partner and your caddies. Breaking this carries the general penalty. Public information isn't advice: distances, where the hole is, or what the Rules say.