How to Make Money Through Google Map API
Google has released Google Map Ad Unit for Google Map API developers. Map Ad unit will enable Google map developers to earn revenue from Google Map API implementations. Although Google Map Ad Unit is optional feature that Geo developers can integrate with their applications. Ads are shown inside the Google Maps and developers can specify the location where should ads appear on Maps. The Ads the are aware of Map location and changes according to the users movements.
How to Add Google Map Ad Unit ?
For showing ads on Google Map ad unit you must have a Google adsense account. You simply need to create a GAdsManager of style ‘adunit’ after this you need to link Google Map ad unit to your Google Adsense account. Once you have an AdSense for Content account, you will have received an AdSense for Content (AFC) publisher ID. Specify this publisher ID in the GAdsManager constructor. The snippet below creates a Maps Ad Unit with the given publisher ID and AdSense for Content channel. We assume that there is a map object that has already been created.
var publisher_id = "pub-1234123412341234"; // Replace 1234123412341234 with your Google AdSense publisher id.
adsManagerOptions = {
maxAdsOnMap : 2,
style: 'adunit',
channel: '12345678' // This field is optional - replace 12345678 with a channel number that you created for GooYAMLgle AdSense tracking
};
adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();
To alter the position of the Map Ad Unit, modify the GAdsManager's position property by specifying an alternative GControlPosition as shown below.
var publisher_id = "pub-1234123412341234"; // Replace 1234123412341234 with your Google AdSense client id.
var adPos = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(7, 20)); // Set the anchor position and GSize offset to your desired values.
adsManagerOptions = {
maxAdsOnMap : 2,
style: 'adunit',
channel: '12345678', // This field is optional - replace 12345678 with a channel number that you created for Google AdSense tracking
position: adPos
};
adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();
See the Maps Ad Unit in action




May 28th, 2009 at 3:51 PM
Very interesting. I will integrate this on my blog with backlink to you.
August 27th, 2009 at 3:07 PM
I’ve been reading here forever and well it at least seems like forever! please keep us informed and thanks for this info!
September 11th, 2009 at 8:04 AM
I’ve been visiting here quite frequently but i’ve never had a chance to say thanks or leave a comment, so let me be the first to say keep up the good work!
September 11th, 2009 at 8:12 AM
I’ve been visiting here quite frequently but i’ve never had a chance to say thanks or leave a comment, so let me be the first to say keep up the good work!
September 11th, 2009 at 12:42 PM
I’ve been visiting here quite frequently but i’ve never had a chance to say thanks or leave a comment, so let me be the first to say keep up the good work!
October 14th, 2009 at 1:31 PM
hi, i want know how can i put Ads on my Google Maps into my wordpress blog. now i install google maps for wordpress plugin but, how can get GAdsManager inside? Please answered me soon as possible to my mail : info@capodannofirenze.net Thanks