Tweaking the Code

After the break, I took control of the computer. “As you just saw, publishing ads on your site is actually very simple,” I began. “And the basics never change: Set the options you want, copy the generated code to the clipboard, paste the code into your Web pages. All we're going to do now is tweak the code.”

“What do you mean?” Claude asked.

“I mean, I'm going to change some of the options on the Ad layout code page,” I said, “and see how it affects the code and the ads that are displayed.”

“So every time you want to make a change,” Anita asked, “you have to go and repaste the code into all your pages?”

“Yes,” I admitted, “unless your Web server supports some kind of template feature the way blogs do. This is usually called ...

Get Make Easy Money with Google: Using the AdSense Advertising Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.