The code must be placed on the site between the tags <body>and</body> in the place where you plan to show ads.