Most ads are trying to trick you into buying stuff you don't really need. I know there are cases in which you actually see a relevant ad for something you really want to buy and that will bring value to your life, but that's usually an edge case.
What I am working on doing now is to combine development + marketing. Instead of creating marketing material to sell, I am creating marketing material to educate: create how-to instructional videos, technical blog posts, improve the documentation, etc. If you sell a tool I think this is the best way to go, instead of advertising how cool your tool is, teach people how to use your tool and what they can do with it (eg. if you sell a hammer don't show people how to drive nails and give a 50% limited time discount code; teach them how to build a chair and let them decide themselves if they need a hammer or not).