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?

Comments

dubovik’s picture

Greybear’s picture

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.

andant’s picture

Did you have any luck? I have a similar issue

gabble’s picture

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

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

Hope this helps! :-)

stuffnthings’s picture

using gabble's advice worked for me.

www.jacksonvilletx.info
I do stuff with things.

tuklu_san’s picture

The authentication URL that works for me (Drupal 5) is:

http://www.washingtonbanglaradio.com/node?destination=node

Everything else is per the previous post.

tuklu_san’s picture

*Update* I started to get a 404 when using node?destination=node per my last post (maybe having a view-generated page as the landing page caused it.)

Changing it to following fixed it (Drupal 5):

http:/ /www.washingtonbanglaradio.com/user/login?destination=node

Everything else as before.

irfankhan’s picture

Guys it works the procedure what I use
I have created two sites on blogger.com, I entered one site say http://sourcesolution.blogspot.com in Restricted Directory or URL and entered another site http://technologydefination.blogspot.com in Authentication URL and all other field filled as James wrote than save the work now the status of authuntication is ok.
http://getsatisfaction.com/socialgo/topics/how_do_i_allow_google_adsense...