PHP Classes
Icontem

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


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet 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: 2009-10-26

Package: Forms generation and validation

Summary: 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.




Picture of Manuel Lemos
Manuel Lemos
ManuelLemos.net
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.


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

Post a comment


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


 

  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)  
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products