Adsense Ads inside posts Middle par kaise lagaye.

Adsense Ads inside posts Middle par kaise lagaye. 



Adsense Ads inside posts Middle par kaise lagaye . Iss Article me Google Adsense ke Baare me Jankari Share kari Gayi hai Or Sath hi Ads ke Baare Kuch Important Tips di Gayi hai . Iss Post ki Help se Aap Every Post me Middle Side par Ads Show kar Sakte hai . 

Adsense Ads inside posts Middle par kaise lagaye

Jo Peoples Adsense Publisher hote hai or Sath hi Blogger Platform par hote hai Un Sabhi Blog Founder ko Adsense Ads Template or Widget par Use karne Chahiye Because Future me Unhe Problem Face karni Ki Jarurat Nahi Pade . Future me Problem se Mera Matlab hai ki jab Unke Ads Placement Change karni hoti hai to Unhe Every Posts me Ads Code Unit Find karne ki Jarurat Nahi pate or Sath hi Time ki saving Bhi kar sake .

Template par Ek Baar Ads Code add karna hota hai or Sabhi Post par show hote hai Jisse Time ki Saving hoti hai . kari Baar Maine Aaise Site Dekhi jo Post me Ads Code Use karte hai or Unke Ads Code home Page par show hote hai . lssliye Sabse Best Way hai Template jaha Aap easily Ads Code Place kare ja Sakte hai . Youtube par Aaisi kai Video hai Jinhe Dekh kar Aap Easily Template Ads Setup kar sakte hai . 

Ab Jante hai Adsense Ads Posts Middle par kaise Lagate hai


First Aap Kuch Bhi Karne ke Pahele Aapni Blogger Template ka Backup Jarur Save kar Lijiye Jisse Agar Aapse Kahi koi Mistake ho jaye to Aap Backup Upload kar Sake . 

2 - Ab Blogger par Login kare or Template ke Option par Click kare .

3 - Ab Edit HTML ke Option Par Click kare . 

4 - Ab Niche Diya Code Copy kare or Aapni Template par Ctrl-F Press kare Search kare . 
data:post.body

5 - Jaise hi Aap Upar Wala Code Search karte hai to jo Code Search me Aayega wo Iss Tarah ka hoga Niche Dekh Sakte hai . 
<data:post.body/>

NOTE - Yeh Code 3 se 4 Jagah ho Sakta hai Jiski Wajah se Correct Code Placement Ka Pata Nahi Chalata Issliye Aapko One by One Sabhi Jagah Adsense Code placement karke Dekhna hoga .First Aap Second Wale ko Choose kare Mostly yahi hota hai .

Jaise Maine Upar Bataya ki Code Kaunsa Search me Aayega Aap Usse Remove kare or Usske Badle Niche Wala Code Ads kare .

NOTE -  Iss Badle <data:post.body/>  Niche Wala Code Add kare .
<div id='mymiddlecode'><data:post.body/></div>

Jab Aap Code ko Change kar Chuke ho Phir Aapko Usske Niche Ek Code or Add karna hai Aap Niche Dekh Sakte hai . Aap Isse Copy kare or Upar Wale Code ke Niche Paste kare .

  • <b:if cond='data:blog.pageType == &quot;item&quot;'>
  • <style>
  • #addcodemiddle{display: none;}
  • </style>
  • <div id='addcodemiddle'>
  • ADD YOUR ADSENSE CODE
  •     </div>
  •  <script type='text/javascript'>
  • var str1=document.getElementById(&quot;mymiddlecode&quot;).innerHTML;
  • var str2=str1.length;
  • var str3=str2/2;
  • var substr = str1.substring(str3, str2);
  • var n = substr.search(&quot;&lt;br&gt;&quot;);
  • if(n&lt;0)
  • {
  • n = substr.indexOf(&#39;.&#39;);
  • if(n&lt;0)
  • {
  • n=0;
  • }
  • var firsthalf = str1.substring(0, str3+n+1);
  • var secondhalf = str1.substring(str3+n+1, str2);
  • }
  • else
  • {
  • var firsthalf = str1.substring(0, str3+n+4);
  • var secondhalf = str1.substring(str3+n+4, str2);
  • }
  • var addcode=&quot;<center>&quot;+document.getElementById(&quot;addcodemiddle&quot;).innerHTML+&quot;</center><br/>&quot;;
  • var newbody=firsthalf+addcode+secondhalf;
  • var strnew=document.getElementsByClassName(&quot;post-body entry-content&quot;);
  • strnew[0].innerHTML=newbody;
  • document.getElementById(&quot;addcodemiddle&quot;).innerHTML=&quot;&quot;;
  • </script>
  •   </b:if>


NOTE - JAHA MAINE ADD YOUR ADSENSE CODE LIKH HAI WAHA AAPKO ADSENSE CODE ADD KARNA  HAI BUT YAHA BHI EK BAAT NOTE KARNE WALI HAI WO YEH KI JAB AAP ADS CODE ADD KARGE WO WORK NAHI KARTA IISLIYE AAPKO ADS CODE KO XTML FORMAT ME CONVERT KARNA HOGA JISSE TEMPLATE CODE SUPPORT KARE . 

XTML me Ads Code ko Convert karne ke liye yaha Click kare or Aapne Ads Unit Code ko Convert karke Or  Add your Adsense Code  Ki Jagah Paste kare .  

Jaise hi Aap Puri Tarah Code Add kar Lete hai Kuch Iss Tarah Dikhta hai . Maine Issme Adsense code Bhi Dekhaya hai Demo ke liye Aap Niche Dekh Sakte hai Jisse Aapko Samjhne me Asani ho. 
  • <div id='mymiddlecode'><data:post.body/></div>
  • <b:if cond='data:blog.pageType == &quot;item&quot;'>

  • <style>
  • #addcodemiddle{display: none;}
  • </style>
  • <div id='addcodemiddle'>

  • &lt;script async src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
  • &lt;!-- Mobile ex --&gt;
  • &lt;ins class=&quot;adsbygoogle&quot;
  •      style=&quot;display:inline-block;width:300px;height:250px&quot;
  •      data-ad-client=&quot;ca-pub-1234567890123&quot;
  •      data-ad-slot=&quot;123456789&quot;&gt;&lt;/ins&gt;
  • &lt;script&gt;
  • (adsbygoogle = window.adsbygoogle || []).push({});
  • &lt;/script&gt;

  •     </div>

  •  <script type='text/javascript'>


  • var str1=document.getElementById(&quot;mymiddlecode&quot;).innerHTML;
  • var str2=str1.length;
  • var str3=str2/2;
  • var substr = str1.substring(str3, str2);

  • var n = substr.search(&quot;&lt;br&gt;&quot;);
  • if(n&lt;0)
  • {
  • n = substr.indexOf(&#39;.&#39;);
  • if(n&lt;0)
  • {
  • n=0;
  • }
  • var firsthalf = str1.substring(0, str3+n+1);
  • var secondhalf = str1.substring(str3+n+1, str2);

  • }
  • else
  • {

  • var firsthalf = str1.substring(0, str3+n+4);
  • var secondhalf = str1.substring(str3+n+4, str2);
  • }
  • var addcode=&quot;<center>&quot;+document.getElementById(&quot;addcodemiddle&quot;).innerHTML+&quot;</center><br/>&quot;;

  • var newbody=firsthalf+addcode+secondhalf;


  • var strnew=document.getElementsByClassName(&quot;post-body entry-content&quot;);
  • strnew[0].innerHTML=newbody;

  • document.getElementById(&quot;addcodemiddle&quot;).innerHTML=&quot;&quot;;

  • </script>

  •   </b:if>


Jab bhi Aap Adsense code add kare wo Active Code Hoga Chahiye New Code add Nahi kare Kyuki New Ads Unit  Code ko Active Hone me Time Lagata hai or Aapko Phir Ads Nahi dikhega Kuch Time or Aapko Lagega ki Code Work Nahi kar Raha Issliye Best hai Active Code Use kare . 

Maine Saare Step by Step Samjhne ki Koshish kari hai or Mai Aasha karta hoon Aapko Sabhi Step Samjh Gaye hoge . Agar Aapko Humara Yeh Post Useful Laga To Isse Jarur Share kare . I 

No comments:

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();
Powered by Blogger.