Princes Street Gardens is the long green valley between the New Town and the Castle rock, and it's free. If you only have half an hour, I'd walk the West Gardens: the Castle fills the sky above you, the cast-iron Ross Fountain sits right under the rock, and the floral clock is at the Mound end on your way out. The East Gardens are smaller and busier, built around the Scott Monument, and from mid-November they become the Christmas market.
The one thing to know is the gates. They open at 7am but in winter they start locking at 5pm, so a late-afternoon stroll in December can end at a closed gate. With children, the West Gardens lawns are the place to let them run, but bring a sling rather than a buggy if you can, because some paths slope steeply. For the market itself, see my Edinburgh Christmas markets guide, and for everything else in the city, start with things to do in Edinburgh.