How Good Advertising Gets on Bad Websites