Forum Moderators: martinibuster
I used the code on this page but it doesn't work. [code.google.com...]
The code is listed as:
var mapOptions = {
googleBarOptions : {
style : "new",
showOnLoad:true,
adsOptions : {
client: "partner-google-maps-api",
channel: "AdSense for Search channel",
adsafe: "low",
language: "en"
}
}
}
Do I use my Adsense for search id including "partner-pub-"?
Do I use the name of my channel or the channel id?
I have used my full Adsense for search id obtained from the "My Account" page and I used the channel id.
However, queries are not registering so i suspect the clicks aren't either.
Instructions are at Advertising on your Map
[code.google.com...]
I am using both Adense for Search and Adsense for Content.
GAdsManager is for "Adsense for Content". Its the ads on the bottom right.
The "Adsense for Content" is working and registering impressions and clicks.
The code i use for that is.
var publisher_id = "ca-pub-publisherid";
var adsManagerOptions = { maxAdsOnMap : 5,
style: 'adunit',
channel: 'channel id' };
adsManager = new GAdsManager(map, publisher_id, adsManagerOptions);
adsManager.enable();
I'm trying to get the search queries and clicks from the bottom left of the map to show in my reports.