No posting the signature in the body of a text but they sure did put some effort into that one
Ads are typically not allowed in posts (outside of the signature area) because they are annoying and off-topic. It is especially disallowed to put ads or signatures at the bottom of all of your posts. Except for traditional valedictions, which are tolerated but discouraged, signatures are for the signature area only.
However, if you are using the forum as a publishing platform to host something really substantial and useful, selling ads in that substantial work is allowed. To be eligible for this, your post must be in a topic that you started, and your post must be substantial and long enough to make the ad seem entirely insignificant. If in doubt, ask me.