There is simply no moral, ethical or social justification for marketing junk food to children. Children have a right to grow up, and parents have the right to raise them, without being undermined by commercial interests.
If marketing to children affects their food choices, then it's time to stop marketing to them.