Forum Moderators: martinibuster
I have found a solution but Google has told me it is against their T&C. I was wondering if anyone had a better solution then what I found.
If you add the following code to the bottom of the adsense code, it should work.
google_page_url = [domain.com...]
My problem is, is when google spiders my site I remove the sessionid for them. That way they don't crawl our pages a million times and shut us down for "spamming" them.
Thanks,
Dan sampson
see, even if you can get google to see the pages without session id's (very possible), this won't help you at all:
[yoursite.com...]
and
[yoursite.com...]
google (read: adsense) sees as two different pages. even if it went there previously, without session hashes, and determined what should be served there, this won't do you ANY good- for it to work they would HAVE to crawl every sessionhash- which isn't possible.
it could determine the correct ads for a page, but your users don't use that url. you need to remove the session hashes completely or ditch adsense.
1) When google crawls my sites I remove the sessionid from the url (www.domain.com/index.php instead of www.domain.com/sessionid/index.php)
2) When I removed the sessionid from the home page google gives me a proper ad.
3) When I go through the site, the pages that have been spiders WITHOUT the sessionid, it generates proper ads.
So what I think is happing is google creates somewhat of a session variable on their end that stores my domain name and compares that to what they have.
Since this seems to be the case, my ads are working on 90% of my pages. Google just needs to finish spidering my site.
Hope this helps.
Dan