Abstract it that way and it's hard to argue that this very post isn't an ad.
Things we like to label "good marketing" tend to be more towards the middle of the spectrum by sharing useful information as a way to build reputation. On the opposite end of the spectrum from ads would be word of mouth, like that coworker who everyone loves for their competence.