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

Show Adsense Ads on Google Maps

Related Articles


6 comments so far

  1. Patrick
    #1

    Very interesting. I will integrate this on my blog with backlink to you.

  2. Baker
    #2

    I’ve been reading here forever and well it at least seems like forever! please keep us informed and thanks for this info!

  3. Dallas
    #3

    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!

  4. Hadley
    #4

    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!

  5. Damarcus
    #5

    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!

  6. alex
    #6

    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

Leave a Reply





XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

3 Trackbacks/Pings