Jen1051, you can display your advertisement in the global header most certainly. As to controlling where it is displayed though you will need to use a series of conditional statements using the uCoz conditional operators.
Keep in mind when editing templates to use the code editor and not the visual editor as otherwise it has a high chance of corrupting your existing design.
Hope this helps.
Developer, Designer, Communicator.
Been here for 6 years and counting.
Visit me at alexmoloney.me