In order to display ads on your site, you should first Sign Up to Google Adsense program.
Before adding your ads, keep in mind that Adsense allows only up to 3 ad units, 3 link units and 2 search boxes per page.
In this tutorial i will show you the three ways you can add Adsense ads to your blog.
1. Adsense Gadget
Use this method to add ad unit as a widget, in places outside the blog post area. You can position it by simply dragging it in Page Elements, just like any other widget. To add the Adsense Gadget, follow these steps:
Step 1. Log in to your Blogger Dashboard, go to Layout and click on the "Add a Gadget" link on the right side.
Step 2. From the pop-up window, select the AdSense Gadget
Step 3. Configure ad format and colors (see the screenshot for more details)
Step 4. Finally, click on the Save button and you're done.
2. Inline Ads
This will display an ad unit at the end of each post. To show ads between posts:
Step 1. Go to Design > Page Elements and click the Edit link in Blog Posts gadget box.
Step 2. Check the "Show Ads Between Posts" box.
Step 3. Configure ad frequency, ad format, and colors. Live preview is provided beneath the settings.
Step 4. Click on the Save button to save the settings.
3. Adsense code
The most notable benefits of using this method are:
- You can place ad anywhere in your blog
- You can add the code anywhere in your blog template - in your post content or page.
- To find out which format perform the best, custom channels will help you to track the performance of specific groups of ad units.
- You can choose types other than ad unit i.e. link unit, search box.
To create an ad unit:
Step 1. Go to Google Adsense website.
Step 2. Click on My ads tab, go to Ad units and then click on the "New ad unit" button.
Step 3. Choose your ad type, choose format and colors and assign channels.
Step 4. When you have finished editing, click on the Save and get code >> button and copy the code provided.
To add an ad unit to your blog, you have the following options:
- Paste the code in a HTML/Javascript gadget
- Paste the code in the blog post or page HTML section, or
- Paste the code direct in your template. (if you choose this option, first you should convert adsense ad code)
Tidak ada komentar:
Posting Komentar