This is my answer to a Question on Support site for LampCMS project
What exactly is required in order to insert ads? I mean you can just modify a template an insert a piece of code like javascript or some static link to an ad.
As for inserting ads in search results that would require some additional code to be written, but for inserting ads in side bar or any other part of the site you can just insert the code in the template.
If you are running Lampcms in debug mode (configurable in !config.ini) then template names are added to the html code, just view the source code on the page and you will see exactly what templates are being used for assembling the page.
You can then find these templates and modify them.