Alcohol and Tobacco etc are generally regulated substances.
They cannot be obtained even by Adults in all circumstances, for example legislation may prohibit the sale of alcohol at certain venues or require a license to do so. The premise on advertising has less to do with consent I would say, but rather the health and social implications of such substances.
While the issue at hand with the vaccines maybe one of consent, it is a different situation.
This also seems to step farther than this, in its intent to restrict the use of school property to host vaccination drives. This serves no public good as far as I can imagine, it has nothing to do with consent either.
While the concept of consent should be obtained by parents in many situations, the idea that this is solicitation is a long bow and goes in general against the public good.