Function request in post ads

Hi Guys I'd like more control over what ads will be dispayed in what posts. It would be ideal if there was an extra option in the post (instead of just yes/no to show ads) to select by category, better even if one could select which ads to show post by post.

If there's someway to do this myself, maybe with some lines of code, I'd love to know.

Cheers,
Nick