Google map ko adsense ads se apne website par monetize kaise kare

Ye to sabhi koi jante hai ki Google adsense se aap apne website ko monetize kar sakte hai . Lekin kya apko ye pata hai ki aap koi bhi google maps jo ki aap ki page me embedded hai , use bhi monetize kar sakte hai . Map me adsense advertisement automatically aa jayega jo ki apke page ke content ke anusaar hoga , ya fir user ke location ke basis pe ad. Show karega.

Aap niche dekh sakte hai ki Google map jo niche diya gya hai usme adsense advertisement show kar rahe hai.  Aese bahut se websites hai jo ki google maps me adsense advertisement show kar ke earn karte hai.

Google map with adsense advertisement
Google map showing adsense advertisement

Adsense AD’S Embedded  Google Map Me

Google map ko aap apne website me asani se embed kar sakte ho lekin usme adsense advertisement show nahi karta hai . Usme advertisement show karne ke liye apko khud ka google map banana hoga GOOGLE MAP API se . Aor  Ye muskil bhi nahi hai . To chaliye jante kaise karte hai ye.

  1. Sabse pahle to aap adsense account khole sor fir create a new ad. Unit Pe jaye aor ek naya advertisement banaye aap background color white kar sakte hai ad unit ka aor size ko responsive kar de.
  2. Ab aap niche ka GOOGLE MAP EMBED CODE ko apne website ke template me  kahon bhi copy kar de.
<div id="google-maps" style="width:500px; height:500px;"></div>

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp">
 </script>
<script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
 </script>

<script>

  function showGoogleMaps() {

    var mapOptions = {
      center: new google.maps.LatLng(38.8977, -77.036),
      zoom: 5
    };

    var map = new google.maps.Map(
      document.getElementById('google-maps'), mapOptions);

    var ad = '<ins class="adsbygoogle" \
              style="display:inline-block;width:300px;height:100px" \
              data-ad-client="ca-pub-xxxx" \
              data-ad-slot="yyyy"></ins>';

    var adNode = document.createElement('div');
    adNode.innerHTML = ad;

    map.controls[google.maps.ControlPosition.TOP_CENTER].push(adNode);

    google.maps.event.addListenerOnce(map, 'tilesloaded', function() {
      (adsbygoogle = window.adsbygoogle || []).push({});
    });

  }

  google.maps.event.addDomListener(window, 'load', showGoogleMaps);

</script>

Aap is code ke line 1 me map ka height aor width ko apne website ke anusaar modify kar sakte hai jisse ki yah aapke website e asani se fit baithe.

Isi tarah line 11 me aap map ka longitude aor altitude modify kar sate hai. Aor lastly aap is embed code me jo xxxx hai use apne adsense publisher ID se replace kar de . Aor embed code me jo yyyy hoga use apne ad slot ID se replace kar de.

Apko apka publisher id aor ad slot id adsense ad unit ke code me mil jayega

To aap is tarah se apne website me google map ko google adsense se monetize kar sakte hai .

Leave a Reply

Your email address will not be published. Required fields are marked *