How do I remove my AdSense code?

Note: This article assumes you are using a classic template. On a Layouts-enabled blog, just click the "edit" link for your AdSense page element, the click the "Remove Page Element" button.

The special AdSense tab in Blogger's Template section does not currently have a way to automatically remove ads for you. So if, for some reason, you decide you no longer want to display ads on your blog, you'll need to remove the code manually. It's just a matter of finding the right code and deleting it, so it's pretty easy.

Click on the Template tab for your blog, and make sure you in the "Edit Current" view (where you see all the code) rather than on the AdSense tab. Then scan through your code until you find some code that looks like this:

<script type="text/javascript"><!--
<script type="text/javascript"

The numbers will be different, depending on what layout and colors you've chosen, and it will have your own AdSense ID in it instead of all those X's. But the basic format will be the same.

Once you've found that code, just delete it. Everything you see above can go. Then save your changes and republish your blog.

Another way to remove the code it to reset your template to one of our default versions. This is easier than looking through the code yourself, but please note that it will also remove any other customizations your changes you have made.

If you ever decide you want the ads back, just click on the AdSense tab, sign in, and choose the layout and colors you want.

Was this article:

0 التعليقات:

Total Pageviews