Google Adsense, site authentication and Drupal

Greybear - August 28, 2007 - 11:54

I'm trying to use adsense, but my problem is, that my main (90%) content is password protected. This way, adsense only uses the url as info to choose wich ad to display. this way i get many XML ads because of the url: site.com/node/X :)

Google Adsense provides a way to solve this: site authentication. If i provide them a user/pass, then they log in and index my sub pages. so i'm trying to do this. Info i passed on adsense's site authentication page is:
Restricted Directory or URL: www.domain.com (my domain of course)
Authentication URL: http://www.domain.hu/frontpage?destination=frontpage

Authentication method: POST
Parameters:
name = username
pass = pass
form_id = user_login_block

That's it. When i click on Test My Authentication URL the popup window shows the frontpage with the logon block, but according to my log, the adsense account logged in.

Anyone tried to use this? Any advice?

please see if this could

dubovik - August 28, 2007 - 19:57

sorry, no

Greybear - August 29, 2007 - 12:55

Nope, it's for site verification and in adsense settings i can't even get to verification. First i need to make website authentication work.

Did you have any luck? I

andant - March 29, 2008 - 03:30

Did you have any luck? I have a similar issue

Auth URL:

gabble - July 1, 2008 - 15:14

Auth URL: http://www.example.com/user/login?destination=home

Parameters:
name=[username]
pass=[password]
form_id=user_login

Hope this helps! :-)

 
 

Drupal is a registered trademark of Dries Buytaert.