Sorry, I missed two important script lines in my previous reply

To add adsense ads to the Google maps no adsense code is required that we
generally use for our html files, but the following simple script to be
inserted in the map generating script. You will need to insert your own
publisher id in the following script. The value for maxAdsOnMap can be
either 1 or 2. There is no need to use the channel value or create your own
channel No by using 'My Ads' section of AdSense
-------------------------------------------------------
           var publisher_id = "pub-3474423317406491";

           adsManagerOptions = {
           maxAdsOnMap : 2,
           style: 'adunit',
//           channel: '1923460607' ----  No need to use it
       };

     adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
     adsManager.enable();


The source code of the following page shows the location for above script.
http://www.replyat.com/GLx1.HTM

-----------------------------------------------------------------------------------------------------------
On Sat, Dec 17, 2011 at 7:29 PM, Shobha Rishiraj <[email protected]>wrote:

> To add adsense ads to the Google maps no adsense code is required that we
> generally use for our html files, but the following simple script to be
> inserted in the map generating script. You will need to insert your own
> publisher id in the following script. The value for maxAdsOnMap can be
> either 1 or 2.
> -------------------------------------------------------
>            var publisher_id = "pub-347442331740649145";
>
>            adsManagerOptions = {
>            maxAdsOnMap : 2,
>            style: 'adunit',
>        };
>
> The source code of the following page shows the location for above script.
>
> http://www.replyat.com/GLx1.HTM
>
> ---------------------------------------------------------------------------------------------------------------
>
>
> On Sat, Dec 17, 2011 at 2:51 PM, David <[email protected]> wrote:
>
>> I am totally non-technical and need some clear instructions, please,
>> about adding adsense ads to the Google maps on my website. There are
>> over 300 with the potential for many more. I have been trying -
>> sporadically - to find how and where to add the code, but I can't
>> understand most of the technical stuff. All I really need to know is -
>> (a) what code do I use, and (b) exactly where in the map HTML do I
>> paste it ? - in as simple terms as possible !
>> I would be most grateful for help with this !
>> Thanks !
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Maps API V2" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-maps-api?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to