- We got "User does not have an AdSense account" - 2 Updates
dan@viewex.co.uk: 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 https://www.googleapis.com/adsense/v1.4/accounts: (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 Cheers |
"Dean Lukies (Adsense API Team)" <adsenseapiadvisor+lukiesd@google.com>: Mar 26 09:51AM -0700 Hi, Try testing the account to make sure that it works outside of code. Go into incognito mode and use the APIs explorer: https://developers.google.com/adsense/management/v1.4/reference/accounts/list#try-it 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? thanks, Dean |
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 adsense-api+unsubscribe@googlegroups.com. |
No comments:
Post a Comment