The packaged-goods world of products from macaroni and cheese to cereals to cake mixes and beyond has been dominated by powerful corporations with a lot to spend on advertising; they have begun to shift more of those dollars to online advertising in greater amounts.