Those Google warnings can show up for a number of reasons, usually if Google "detects" that the site is doing something bad. Mind you, this is (usually) a rogue ad that ends up using a browser exploit to mess with your system. However, some of the techniques that are used by these rogue ads are also quite valid. For instance, some types of iframes Google detects as bad, yet they are completely legitimate.