You need to paste the code in the header, footer or sidebar to match the resolution of the advert size. Some blog software are providing plugins for this so you could search the net to see whether there is anything available for you. For example, WordPress has an AdSense manager plugin here. When you install such a plugin, there will be a textbox in the admin console for you to enter the JavaScript provided by the PPC company. Hope this helps!