First I would like to note that we will need a tool that converts ads; Advertising On Google conversion Adsense which created to the format suitable for inclusion in any of the following methods:
-1 -
Google placing ads under the title of entry
Create a new ad from the Control Panel Google Adsense.Copy the code output.
Go to the control panel in Blogger, and then to (Edit HTML) then actively option (expandable template).
Look for the following code:
<data:post.body/>
Paste the announcement with Google directly above average.
Save the template.
And become the final form of the ad placement as follows:
-2 -
Google placing ads in the end of the post
Repeat the same steps as above, but place the announcement Google revised down following code instead of the above:<data:post.body/>
To become the subject of the final declaration as follows:
-3 -
Google placing ads in the center of the subject post
Look for the following code:
<data:post.body/>
Select it and then wipe it put in his place the following code:
<div expr:id='"aim1" + data:post.id'> </ div>
<div style="clear:both; margin:10px 0">
<! - AdSense code ->
</ div>
<div expr:id='"aim2" + data:post.id'>
<data:post.body/>
</ div>
<script type="text/javascript">
var obj0 = document.getElementById ("aim1 <data:post.id/>");
var obj1 = document.getElementById ("aim2 <data:post.id/>");
var s = obj1.innerHTML;
var r = s.search (/ \ x3C! - adsense - \ x3E/igm);
if (r> 0) {obj0.innerHTML = s.substr (0, r); obj1.innerHTML = s.substr (r +16);}
</ script>
The situation becomes final announcement follows (according to the place you have chosen):



Aucun commentaire :
Enregistrer un commentaire