Login   Register  
PHP Classes
elePHPant
Icontem

Making money with advertising in embedded Google Maps - Forms generation and validation package blog

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All package blogs All package blogs   Forms generation and validation Forms generation and validation   Blog Forms generation and validation package blog   RSS 1.0 feed RSS 2.0 feed   Blog Making money with adv...  
  Post a comment Post a comment   See comments See comments (4)   Trackbacks (0)  
<< Previous: Upcoming Visual HTML ...>> Next: Locating addresses on...

Author: Manuel Lemos

Posted on:

Package: Forms generation and validation

Since a few months ago, you can place advertising in Google Maps and make money from maps embedded in your site pages.

This article explains how to achieve it easily in PHP using the map location plug-in of the Forms Generation and validation package.




In May Google announced the support for embedding AdSense advertising in Google Maps embedded in publisher sites.

http://googlegeodevelopers.blogspot.com/2009/05/earn-revenue ...

The advertising that appears is sensitive to either the location of the center of the map and to the site on which the maps are embedded. You can see the advertising changing as you drag the map around the world. Try it in this embedded map of PHP user groups world wide.

http://www.phpclasses.org/browse/group/

The map location plug-in class of the Forms Generation and Validation class was enhanced to make it easier showing AdSense advertising in embedded Google Maps just by adding a few lines like these to the definition of the map input.

'AdsManager'=>array(
'Publisher'=>$adsense_publisher,
'MaxAdsOnMap'=>1,
'Channel'=>$adsense_channel
),

The Publisher parameter is the identifier of your AdSense account. The Channel parameter is a custom AdSense channel that you may create to keep track of the performance of this type of advertising. The MaxAdsOnMap parameter is an option to limit the space that will be used to show advertising.

You can view a live example in practice:

http://www.meta-language.net/forms-examples.html?example=tes ...

Here you can see the example source code:

http://www.meta-language.net/forms-examples.html?example=tes ...

While the revenue generated by this type of advertising on the maps is not extraordinary, if you are an AdSense publisher of sites that embed Google Maps on their pages, it may help improving your sites revenue.

You need to be a registered user or login to post a comment

1,248,982 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

Facebook ConnectGmail or other Google Account
Hotmail or Microsoft Windows LiveStackOverflow
GitHubYahoo


Comments:

2. Object required - ggggggg (2009-10-28 08:25)
Error in main.js... - 1 reply
Read the whole comment and replies

1. IE8 - ggggggg (2009-10-28 00:48)
Example dont work in IE8... - 1 reply
Read the whole comment and replies


<< Previous: Upcoming Visual HTML ...>> Next: Locating addresses on...
All post categories




  Post a comment Post a comment   See comments See comments (4)   Trackbacks (0)  
  All package blogs All package blogs   Forms generation and validation Forms generation and validation   Blog Forms generation and validation package blog   RSS 1.0 feed RSS 2.0 feed   Blog Making money with adv...