- 401 Authentication Error [1 Update]
- Ragers <firstname.lastname@example.org> Oct 01 12:24AM -0700
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.
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
Can anyone explain what I'm doing wrong here?
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 email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/adsense-api?hl=en.