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 = *

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.inihttps://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/settings.ini#34and confirm the changes are correct. Yes the OAUTH2_HANDLER_CLASS should

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

Missing required parameter: scope when using $authorizationUrl

2013-10-27 Thread Alan Coleman
Hello everyone, I'm successfully generating *$authorizationUrl* using the code below. However on using that URL I'm receiving the error: *Missing required parameter: scope.* *OAUTH2_SCOPE* is being declared as a constant in the* AdWordsUser* class so I'm confused as to why it's not being