Hello,I'm updating my code to use v4.1 and was testing association with my sandbox account. Managed to authenticate, yet, by calling the "start" function from the API library, following exception showed up:Fatal error: Uncaught exception 'Google_ServiceException' with message 'Error calling GET https://www.googleapis.com/adsensehost/v4.1/associationsessions/start?productCode=AFC&websiteUrl=www.example.com&key=mykey: (403) Customer is not an AdSense Host.' in /path/libraries/Google/io/Google_REST.php:66 Stack trace: #0 /path/libraries/Google/io/Google_REST.php(36): Google_REST::decodeHttpResponse(Object(Google_HttpRequest)) #1 /path/libraries/Google/service/Google_ServiceResource.php(177): Google_REST::execute(Object(Google_HttpRequest)) #2 /path/libraries/Google/contrib/Google_AdsensehostService.php(161): Google_ServiceResource->__call('start', Array) #3 /path/libraries/Adsense.php(52): Google_AssociationsessionsServiceResource->start('AFC', 'www.example in/path/libraries/Google/io/Google_REST.php on line 66Any ideas?
Thanks, I tried there as well - same error.Just to confirm - what exactly is expected to be provided as websiteUrl and what the formatting is supposed to be (with http:// or not)?
--
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adsense-api...@googlegroups.com.
To post to this group, send email to adsen...@googlegroups.com.
Visit this group at http://groups.google.com/group/adsense-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.