It sounds like you are trying to run the ads when off line ... but it can take the Adsense spiders a while to find the site and show the code, for a new site.
You should register each site with Google Webmasters, and put the verification code in the meta section of the head. Then you register with Google Analytics, and get the site ID, and verify that. Then you can add your publisher code ... and the spiders know that they should look.
The scripts will run on an unregistered site, but you will be better off if you have your author/publisher code in the head. If you don't go through the Webmasters/Analytics registration, you will be unable to track your revenues.
- oh WTH here's an example of the meta tags bit -
<head>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<title>Random Site Design</title>
<!--meta_begin-->
<meta name="description" content="site design for random people" />
<meta name="keywords" content="random people site design information affordable cheap " />
<meta name="author" content="pub-724xxxxxxxxxxxx470" />
<meta name="robots" content="index,follow" />
<meta name="verify-v1" content="XkXNykFDe2Ul5bRPJDahGynsdgn6OHk/lfgrBcyfEM=" />
</head>
<body>
.
..
...
</body>