Group: http://groups.google.com/group/adsense-api/topics
- OAuth 2.0 / PHP API / Reports [1 Update]
- Probably temtprary error 403 : User does not have an AdSense account. [2 Updates]
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> May 29 01:53AM -0700
Hi Daniel,
You'll need to get the refresh token from the client and store it in some
form of persistence layer (a file in your server, or a database, for
example). This page<https://developers.google.com/api-client-library/php/guide/aaa_oauth2_web> should
help.
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
On Monday, 26 May 2014 15:39:57 UTC+1, Daniel Mayans wrote:
- "Markéta Baťková" <marketa.batkova@outlook.cz> May 29 12:12AM -0700
Hello,
I have been using Adsense Management API for a month, all OK, yesterday I
am not able to receive anything. From me :
1) I am using OAUTH with offline access
(scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadsense&access_type=offline)
2) It was working perfectly
3) now returns 403 error
4) I have tried to remove project from Developers console and crete it
again, does not work
5) I have tried to create a new user with access to Adsense account, new
project under the new email, does not work
6) I have tried OAuth 2.0 Playground, step 3 returns 403 no user accounts
for all requests, even https://www.googleapis.com/adsense/v1.4/adclients
It's not about login, it seems that Management API does not know about my
AdSense account.
Any help?
- "Sérgio Gomes (AdSense API Team)" <adsenseapiadvisor+sergio@google.com> May 29 01:48AM -0700
Hi Markéta,
If you made no changes to your code, and everything was working previously,
this could potentially be an issue with your AdSense account. In the
interest of ruling that out first, could you log into
http://www.google.com/adsense and see if that works?
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
On Thursday, 29 May 2014 08:12:57 UTC+1, Markéta Baťková wrote:
No comments:
Post a Comment