Come guadagnare con Google Maps e AdSense

Guadagnare con Google Maps e AdSense?
Rispolvero un mio vecchio lavoro e tentiamo di farlo funzionare sui nostri Blog e siti web.

Google Maps permette di generare dei guadagni dalle mappe utilizzando  il programma Google Adsense.

Vediamo come si fa.



Quindi dobbiamo avere un account AdSense, per registrarci andiamo su https://www.google.com/adsense/login/it/

Per creare le mappe dobbiamo utilizzare le API Google Maps che richiedono un API KEY, andiamo su Google Maps (http://code.google.com/intl/it-IT/apis/maps/signup.html) e otteniamo l’API key.

L’API key è una chiave univoca che può essere utilizzata solo sul dominio scritto durante la registrazione.

Vediamo la mappa in funzione
(attenzione, fate pure la ricerca ma ricordate che ci sono i collegamenti sponsorizzati di Google AdSense )





Google Code

Your key is:
--------------------
This key is good for all URLs consisting of this registered domain (and directory if applicable):
http://yourdomain
Note: for more information on the API key system, consult http://code.google.com/apis/maps/faq.html#keysystem.
How you use your key depends on what Maps API product or service you use. Your key is valid for use within the entire family of Google Maps API solutions. The following examples show how to use your key within the Maps API product family.
JavaScript Maps API Example
Within the JavaScript Maps API, place the key within the script tag when you load the API:
...
// Note: you will need to replace the sensor parameter below with either an explicit true or false value.

...
See Loading the Maps API in the JavaScript Maps API documentation for more information.
Maps API for Flash Example
Within the Maps API for Flash, you may place the key within an MXML declaration, declare it directly within code as a Map.key property, or as a flashVars property within the HTML container. A sample MXML declaration is shown below.
...


Adesso segui quanto abbiamo descritto per aiutarti ad implementare il codice

Di seguito riportiamo il codice per usare Google Maps insieme alla ricerca di Google AdSense è ovvio che dovrete inserire i vostri dati (se farete copia e incolla senza modificare il codice non funziona!!!!)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="urn:schemas-microsoft-com:vml">

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Esempio Google Maps e googleBar</title>


<!-- API Google Maps dopo key= inserite la vostra API key -->
<script
src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key="inserite la
vostra API key"
type="text/javascript"></script>

<script type="text/javascript">
/* funzione per creare la Mappa */
function initialize() {
var map;
/* se il Browser è compatibile viene generata la mappa */
if (GBrowserIsCompatible()) {
var mapOptions = {
/* opzioni per la googleBar */
googleBarOptions : {
style : "new",
adsOptions : {
/* dati AdSense*/
client: "inserire il vostro ID AdSense",
/* è possibile specificare un canale per la ricerca */
channel: "41301183",
adsafe: "high",
language: "it"
}
}
}
map = new GMap2(document.getElementById("map_canvas"), mapOptions);
/* inserire la Latitudine e Longitudine del punto che verrà visualizzato
sulla mappa, il valore 13 è l'ingrandimento della mappa, più il
valore è basso maggiore è la distanza */
map.setCenter(new GLatLng(41.8941543976028,12.472014427185059), 13);
/* Zoom e tipo di Visualizzazione di default */
map.setUIToDefault();
/* per inserire la googleBar */
map.enableGoogleBar();
}
}
</script>
</head>

<!–- Per caricare la mappa al load della pagina -–>


<body onload="initialize()" onunload="GUnload()">
<!-- Qui viene visualizzata la mappa -->
<div id="map_canvas" style="width: 500px; height: 600px"></div>
</body>
</html>


Le coordinate si possono rilevare dalla nostra mappa oppure andate su questo link
http://www.gorissen.info/Pierre/maps/googleMapLocation.php


Guardate l'integrazione ( ovviamente con uso di un database )  alll'interno di una struttura che si occupa di Sport, nello specifico di calcio :
http://www.32bit.it/sistemi/scommesse-calcio/risultati-calcio.asp
Per integrare il codice in un blog, puoi scrivermi qui
Cosa ne pensi di questa App?