Walk into the Periscope ad agency in downtown Minneapolis on any given day and it's possible to bump into a basset hound, puggle, Shih Tzu or a host of human types working their creative magic around a fireplace or at the free-snack counter.

Periscope, which creates ads, buys media time and organizes events for the likes of Andersen Windows, the Minnesota Twins, Exxon Mobil Corp., Target Corp. and others, believes in making work fun since "our people spend so much time here," said COO/CFO Virginia Hines. "Our business is our people. So we need to treat them well."

Treating them well means having yoga classes, free parking, free health care, Twins games, private concerts, sports leagues, sandwiches on St. Patrick's Day and a philosophy that says "dogs are welcome to bring their owners to work anytime."

It also means that Hines, CEO Greg Kurowski, HR manager Donna Brown and other executives fire up the grill and serve burgers to most of their 410 employees several times a year, as they did last month.

"We try to do something different once a month," Hines said. "We all go to a Twins game or do a spelling bee, anything to get their juices flowing so they can unwind. It gives the groups time to integrate and to just stop and have a little fun."

Periscope's attention to employee rewards and well-being helped it place fifth among the 30 Top Workplaces for medium companies.

Home aide services firm Right at Home, Bell State Bank & Trust, Anytime Fitness and Pediatric Home Services were among the top-ranked in the category. Employees at these and other notable firms said they love their jobs because their firms emphasize fun, benefits, community giving and creative workplaces that inspire hard work, loyalty and results.

Firms winning the loudest praise seemed to look far beyond time clocks and paychecks to create environments that scream appreciation, fun and wellness. Among this year's winners, dynamic wellness plans proved common at health-care and home-health companies. Ad agencies and fitness and software firms boasted rugged extracurricular games, adventurous outings or fundraising events to boost camaraderie. Pay was competitive, but not the first mention on anyone's list.

Instead, turnover proved low and loyalty high thanks to a host of intangibles.

Kim Strandlund, president of Human Resource Professionals of Minnesota, noted that some companies "go over the top" to engage their employees. "But you don't have to do that," she said. "Make sure that they have a purpose and are recognized, and you are going to have engaged employees."

And it doesn't hurt if you have a little fun. "If it's not a fun or a positive or happy environment, who wants to go to that every day for eight hours?" she said.

Surveyed employees all around Minnesota agreed.

"I love working at Periscope because of the atmosphere," executive assistant Brittany Hestad said. "You just kind of feel it when you walk into the building. Everyone is in a good mood and enjoys being at work. The culture is very positive and uplifting, and so you really want to work hard.

"It was not that way at my old job, so this was a welcome change.''

Fun on the job comes in many forms. And the oddest may be found at Anytime Fitness' corporate headquarters in Hastings. Confidence-building exercises have had employees jumping out of airplanes or scavenger hunting inside a massive mud pit. During a recent event, employees dove into the pit to find envelopes containing money, Twins tickets — even coupons for hugs from the co-founders.

"It was a little crazy; it was lot of fun," executive assistant Leesa Lund said. "We just try to create little events to create team bonding."

Anytime Fitness participates in dozens of local events such as the Tough Mudder obstacle course. During one team-building exercise, employees and franchisees carried a teammate through the entire muddy obstacle course in an effort to raise team spirit and cash for charity.

"It's fun, and it's important to help build these communities," said Dave Mortensen, president and co-founder.

But what really wins loyalty is when an organization shows that it cares, Lund said.

Co-founders Mortensen and Chuck Runyon, for example, hand-write birthday and work anniversary cards to each employee. "And they give a monetary gift card so the worker can go to lunch or get something fun for themselves," Lund said. "I have never worked anyplace where they do that. They take the time, and lot of our employees really appreciate that."

At No. 6-ranked Magenic Technologies it is the picnics and pot lucks, gym memberships, pedometer contests and regular stints feeding the homeless that create a motivating workplace for the software designers and other techies, human resources director Renee Bourget said.

At holiday time, Magenic managers dispense the company gifts: new iPads, Xboxes, Kindle Fire e-readers or Microsoft's Surface tablets.

"The cost of these gifts is usually $200-plus,'' Bourget said. "These are technical gifts that these guys love.''

The company hosts video-game challenges where employees raise money for their favorite charity. Four or five times a year, employees face off and raise up to $4,200 a time for charities such as Children's Hospital, People Serving People homeless shelter and the Boston Marathon victims.

"And then we always match employee gifts," Bourget said.

Dee DePass • 612-673-7725