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