Go to your Admin panel → Settings → Advertisings and edit top, bottom and auto entries, like this:
Admin panel → Settings → Advertising → top → [Edit]
Admin panel → Settings → Advertising → bottom → [Edit]
Admin panel → Settings → Advertising → auto → [Edit]
NOTE:
The top and the bottom advertising (or code) will be displayed on the homepage, on the search results pages and on the ads pages.
The auto advertising will be displayed on all the website pages (So we recommend to disable all the other advertising before activate it). IMPORTANT: Rare are the advertising providers that offer feature like auto placing advertising... So make sure that your provider's code takes this feature into account.
For the Homepage you have to activate these sections from the Admin panel:
Admin panel → Settings → Homepage → Advertising #1
Admin panel → Settings → Homepage → Advertising #2
Happy configuration !