glass is smoother, so plastic should work, but the glass stops them from getting traction to jump.
Like stated, burying the bowl would be best. Don't want all these frog's bangin' there head into the glass bowl trying to get at the bugs
also be sure your frog themselves don't get stuck somehow