You probably can't get the ads that far up the page due to the google ad restrictions.
Knowledge Base - Advertisements in phpBB3
Take particular note of the important notice half way down regarding Google ads. Due to the google terms and conditions, the ads should only go in the index_body.html, viewtopic_body.html and viewforum_body.html files. Do not put them in the overall_header or footer.