Adsense Within Posts
It is difficult to place Adsense ads within the post body using the built-in gadgets. To do this, we’re going to have to put our Adsense code directly into the template.
We still can’t put the ad unit in the middle of the post, but we can put it at the top of the post, below the title, with the text wrapping around it. Great! That’s proven to be the most effective placement, so that’s exactly what we want.
You can go and read her post for the full instructions, but here are the basic steps:
Note 2: You probably want to place your Adsense code within a floating div, so that the text wraps around it.
It is difficult to place Adsense ads within the post body using the built-in gadgets. To do this, we’re going to have to put our Adsense code directly into the template.
We still can’t put the ad unit in the middle of the post, but we can put it at the top of the post, below the title, with the text wrapping around it. Great! That’s proven to be the most effective placement, so that’s exactly what we want.
You can go and read her post for the full instructions, but here are the basic steps:
- Get your Adsense code from the Adsense website
- Parse the code to replace special characters with HTML entities
- In Blogger, go to Layout, then choose Edit HTML
- Make a backup of your template by clicking Download Full Template
- Click Expand Widget Templates
- Search for
<data:post.body/>
- Place your Adsense code on the line immediately above this
- Save the template
Note 2: You probably want to place your Adsense code within a floating div, so that the text wraps around it.
No comments:
Post a Comment