Group: http://groups.google.com/group/adsense-api/topics
- 401 Authentication Error [1 Update]
- Ragers <emoceb3@gmail.com> Oct 01 12:24AM -0700
Hi,
I'm busy developing a site using Analytics and AdSense.
I started the project to fetch data from Analytics with the latest OAuth
2.0 and Analytics API V.3
The Analytics API is working 100% fine, I got all the information I
required, and the OAuth token is saved correctly.
Now:
The same with AdSense. I have the latest AdSense Management API, Using the
same OAuth library as the Analytics but when I try to do any call on the
AdSense API I get a Fatal Error:
Fatal error: Uncaught exception 'apiServiceException' with message 'Error
calling GET https://www.googleapis.com/adsense/v1.1/accounts?key=mykeyhere(just
took it out for safety): (401) Invalid Credentials' in
C:\Users\Documents\Workspace\site\library\plugins\analytics\google\io\apiREST.php
Can anyone explain what I'm doing wrong here?
Regards
Schalk Keun
You received this message because you are subscribed to the Google Group adsense-api.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To post to this group, send email to adsense-api@googlegroups.com.
To unsubscribe from this group, send email to adsense-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.
No comments:
Post a Comment