Adsense in Q&A


I would like to know if there is a simple way to add adsense to a Q&A plugin content.

I would like ad titles, text ads in between the replies and in the category description and Q&A category home page.

Is there a way to set up a plugin so that the tweeking of the Q&A plugin does not have to be redone from scratch each time the plugin gets updated?