Friday, March 27, 2015

Digest for - 2 updates in 1 topic Mar 26 09:35AM -0700

After authorising their AdSense account using PHP OAuth (NOT service) we
got an error that "User does not have an AdSense account.".
This makes no sense logically.
Here's a backtrace
Error calling GET (403)
User does not have an AdSense account.
#0 /var/www/viewex/vendor/google/apiclient/src/Google/Http/REST.php(44): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request))
#1 /var/www/viewex/vendor/google/apiclient/src/Google/Client.php(556): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#2 /var/www/viewex/vendor/google/apiclient/src/Google/Service/Resource.php(195): Google_Client->execute(Object(Google_Http_Request))
#3 /var/www/viewex/vendor/google/apiclient/src/Google/Service/AdSense.php(1106): Google_Service_Resource->call('list', Array, 'Google_Service_...')
Can someone help here please
"Dean Lukies (Adsense API Team)" <>: Mar 26 09:51AM -0700

Try testing the account to make sure that it works outside of code. Go into
incognito mode and use the APIs explorer:
Authenticate and try to fetch accounts list
If that works, make sure you are connecting to the API using that account
let me know if you still have problems?
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to

No comments:

Post a Comment