Make
Money from Google Maps
Google has declared a brand new feature for the popular
mapping service Google Maps nowadays within the sort of a commercial module.
The Maps Ad Unit, because it is termed, may be integrated into your existing
Google Maps API implementation.
The Maps Ad Unit is associate degree elective
feature that geo developers et al. WHO use Google Maps on their sites will use
to come up with revenue. The ads seem within the world wherever the map is
rendered in a very position you'll specify. The ads are conscious of the map's
current location and alter consistent with the user's movements.
Let's see however you'll implement this new
feature. you want to have associate degree AdSense account, obviously, that you
may have to be compelled to link with the Maps Ad Unit, and AdSense for Content
should be enabled for that account however the remainder is pretty simple. 1st
you wish to make a Gads Manager of style “ad unit.” Then can ought to specify
your AdSense for Content (AFC) publisher ID (you will have to be compelled to
have one) to the GadsManager creator. If you've got associate degree AdSense
for Content channel created you'll optionally specify that too.
Here is that the code that makes a Maps Ad Unit
with the publisher ID and AdSense for Content already notable.
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();
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();
If you wish a smaller ad unit you'll be able to
set max Ads On Map to one in your adsManager Options. additionally if you wish
the Map Ad Unit to be placed elsewhere on the map you'll be able to modify
GadsManager's position by specifying an alternate Position like this:
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();
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();
Know more information from Google
EmoticonEmoticon