How could it be noAdSenseAccount ?

86 views
Skip to first unread message

Carl

unread,
Apr 17, 2012, 2:21:37 AM4/17/12
to adsen...@googlegroups.com
Hi all,
    I wanna use server account to access Adsense Management API. I got the OAuth2 token and put it like this  'https://www.googleapis.com/adsense/v1.1/reports?access_token=XXX&XX&XXX' but it gives me a  403 error 'User does not have an AdSense account'.When i tried in api explorer,it's OK. I cant find solutions about this. I wanna ask 4 help, if this happens, which could be the probably problem caused this. It's about the account or my thing wrong.Thanks all!

Sérgio Gomes

unread,
Apr 17, 2012, 9:41:27 AM4/17/12
to adsen...@googlegroups.com
Hi Carl,

When you go to google.com, what account do you see logged in at the top right? It will have to be your AdSense account, so that the requests work.

Cheers,
Sérgio

---
Sérgio Gomes
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


---
Reply all
Reply to author
Forward
0 new messages