Responsive Computer Tablet Aur Mobile Friendly Adsense Ads Kaise Banaye


Responsive Computer Tablet Aur Mobile Friendly Adsense ads banane ki jankari – adsense ads banana bahut hi easy hota hai. ham adsense account me login karke ad unit ko create karke aasani se ad code ko pa sakte hai. aur phir ad code ko apne blog ya website me ad karke adsense ke ads apni site par show kar sakte hai. Lekin kuchh ads aise hote hai ki we hamari site par computer par to sahi se show hote hai, lekin mobile ya tablet par properly show nahi hote.

Responsive Computer Tablet Aur Mobile Friendly Adsense Ads Kaise Banaye

Esse hamari earning par bahut zyada fark padta hai. kyuki mobile aur tablet me proper ad show na hone par koei bhi readers oun ads par click nahi karta. Our click na hone ki wajha se hamari earning nahi hoti. Aaj kal desktop se zyada mobile par internet use karne wale log zyada hai. esliye hame aise ads create karne zaroori hote hai. jo all devices par properly show ho.


Eske liye hame responsive ads banane padte hai. ham google adsense ke through bhi responsive ads bana sakte hai. ye mobile par to sahi show hote hai. lekin computer me bahut chhote show hote hai.

Es problem se bachne ke liye hame pehle custom size ke ads ko banana padta hai. ouske baad ounhe responsive bhi banana padta hai.


Esse hota ye hai ki hamari site ko computer par open karne par bhi ads bade show hote hai. aur mobile aur tablet par bhi ads bade show hote hai. adsense ke ads proper show hone ki wajah se hamari earning ke chances increase ho jate hai.

Custom Size Ke Adsense Ads Ko Responsive Ads Kaise Banaye

Adsense ads ko all devices me properly show kaise kare? Adsense ads par zyada click kaise paye? Custom adsense ad size ko Responsive kaise banaye? En sabhi questions ka ek hi answer hai.

Hame pehle computer par open ho rahi apni site ke hisab se custom size ke ads ko create karna chahiye. Aur phir en ads ko responsive banana chahiye.

Mai apne blog ki post ke andar 700×300 size ke 2 text and display ads use karta hun. Enko maine responsive bananya huwa hai. agar main enko responsive nahi banata to ye computer ya laptop par to  sahi show hote. Lekin mobile aur tablet par ye aadhe aadhe show hote.

Aap bhi custom size ke adsense ads ko responsive banakar all devices me apni site par adsense ke ads ko show kar sakte hai. agar aap custom size ke ads ko responsive banana nahi aata hai, to neeche diye gaye steps ko follow kare.

Step 1. Custom size ad

Sabse pehle hame 700×300 size ka ek custom ad unit ko create karna hoga. Agar aapse custome size ke adsense ads banane nahi aate hai. to ye post read kare – custom size ke ads kaise banate hai.

Custom size 700×300 size ka ad unit create karne ke baad jo code milega, es code me di gaei publisher id aur slot id ko hame responsive code me enter karna hai.

Step 2. Responsive code

Ab neeche diye responsive code ko copy karke notepad me paste kar le. Es code me hame kouchh changes karna hai.

<div id="google-ads-1"></div>
<script type="text/javascript"> 
/* Replace ca-pub-XXX with your AdSense Publisher ID */ 
google_ad_client = "ca-pub-XXX";
/* Replace YYY with the AdSense Ad Slot ID */ 
google_ad_slot = "YYY";
/* Replace ZZZ with the custom height of your Ad Unit */
google_ad_height = ZZZ;
ad = document.getElementById('google-ads-1');
if (ad.getBoundingClientRect().width) {
google_ad_width = ad.getBoundingClientRect().width;  
} else {
google_ad_width = ad.offsetWidth; // for old IE 
} 
/* The width of an Ad unit should be between 120-1200 pixels */  
if (google_ad_width>1200) {        
google_ad_width = 1200;
}  else if (google_ad_width<120) {
google_ad_width = 120;
}  
/* The height of an Ad unit should be between 50-1200 pixels */  
if (google_ad_height>1200) {        
google_ad_height = 1200;
}  else if (google_ad_height<50) {
google_ad_height = 50;
}  
/* Both height or width cannot be more than 300 pixels */  
if ((google_ad_width>300) && (google_ad_height>300)) {        
google_ad_height = 300;
}  
document.write (
'<ins class="adsbygoogle" style="display:inline-block;width:' 
+ google_ad_width + 'px;height:' 
+ google_ad_height + 'px" data-ad-client="' 
+ google_ad_client + '" data-ad-slot="' 
+ google_ad_slot + '"></ins>'
);
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  1. Code ki line no 4 me adsense publisher id ke aage ‘xxx’ ko remove karke apni adsense publisher id ko enter kare.
  2. Code ki line no 6 me ‘yyy’ ko remove karke apni adsense ad slot id ko enter kare.
  3. Code ki line no 8 me ‘zzz’ ko remove karke 300 likhe.

En sabhi entry ko fill karne ke baad, hamara custom adsense ad code fully responsive ban jayega. ab hame es code ko copy karna hoga.

Copy kiye es code ko ham wordpress blog ya website me add karke post title ke neeche aur post ke neeche text and display ads ko show kar sakte hai.

Eske liye ham wordpress blog me ad injection plugin ka use kar sakte hai. ad injection plugin ka use karke post title ke neeche aur post ke last me adsense ads ko kaisea lagate hai, mai pehle hi bata chuka hun.

I hope, es post ko read karne ke baad aap jaan gaye honge ki custom adsense ad size ko responsive kaise bante hai, aur responsive computer tablet aur mobile friendly adsense ads kaise banate hai.

Related Posts:

Hi, Everybody. Helpful Smart Book Me Aapka Swagat Hai. Mera Naam Mohd Zakaria Raza Hai. Mai Uttar Pradesh, India Me Rehta Hun. Helpful Smart Book Par Mai Internet, Technology, Social Media, Blogging, Make Money Online, Aur Education, Aadi… Se Related Important Information  Share Karta Rehta Hun. Es Site Par Visit Karke Aap Apni Knowledge Badha Sakte Hai, Aur Bahut Sari Problems Ka Solution Bhi Pa Sakte Hai. Agar Aap ko Post Pasand Aaye, To Please Share Zaroor Kare.

1 Comment on “Responsive Computer Tablet Aur Mobile Friendly Adsense Ads Kaise Banaye

Leave a Comment