You can paste your ad codes into admin area > ads page directly without needing to modify any code. You can read a description under each ad slot to find out where exactly ads will appear.
Some hosting providers do not allow ad codes in http requests, which means you will not be able to save ads from admin area. You will need to contact your hosting provider regarding this.