I’ve added the AdSense code where I marked red in the screenshot earlier.
Also I’ve noticed that when the ad code is added, the AdSense ads which are suppose to load after that code are not loading, instead a blank space is shown (at the end of the post).