Re: Missing required parameter: scope when using $authorizationUrl

2013-10-29 Thread Paul Matthews (AdWords API Team)
There doesn't appear to be any issues with the code you're providing. Can you inspect the OAuth2Handler class to see if it has the scope property set? var_dump($user->GetOAuth2Handler()); Also, double check that you've not changed the OAUTH2_HANDLER_CLASSspecified in the settings.ini

Re: Missing required parameter: scope when using $authorizationUrl

2013-11-04 Thread Alan Coleman
Hi Paul, Thanks very much for replying. var_dump($user->GetOAuth2Handler()); Does indeed reveal that the scope variable in *SimpleOAuth2Handler* is null. I've hard coded the variable in Oauth2Handler.php public function __construct($server = NULL, $scope = * 'https://adwords.google.com/api

Re: Missing required parameter: scope when using $authorizationUrl

2013-11-04 Thread Paul Matthews (AdWords API Team)
Hi Alan, This looks as though there's an issue with your settings.ini, please compare to the original settings.iniand confirm the changes are correct. Yes the OAUTH2_HANDLER_CLASS should