Hi Ewan, Here is the error I'm receiving when I run GetRefreshToken.php
Catchable fatal error: Argument 1 passed to OAuth2Handler::GetAuthorizationUrl() must be of the type array, null given, called in C:\wamp\www\adwords.fbt\adwords_api_php_4.2.5\examples\AdWords\Auth\GetRefreshToken.php on line 48 and defined in C:\wamp\www\adwords.fbt\adwords_api_php_4.2.5\src\Google\Api\Ads\Common\Util\OAuth2Handler.php on line *67* * * Thoughts? Many thanks. On Wednesday, August 21, 2013 10:59:02 AM UTC+1, Alan Coleman wrote: > > Hi Ewan, > > Thanks for replying, I've actually been reading the entries on your blog, > great stuff. > > I should have noted the full error last night, it's a project I'm working > on at home, duh! I'll place the full error later on. > > Some background. I have a development version of my web app running > locally and a released version online. > > I've been using Client Login for authentication but need to move over to > OAuth2 so that I can migrate to v201306. > > I've registered my app with the console and have added the client_id and > client_secret pair to my auth.ini file. > > I'm having trouble running my GetRefreshToken.php file (through command > line), there's a possibility that I'm running it from the wrong part of the > file structure meaning required resources are not being picked up. > > Any ideas would be appreciated. > > Many thanks > > On Tuesday, August 20, 2013 10:38:02 PM UTC+1, Ewan Heming wrote: >> >> Hi Alan, >> >> What's the error you're getting? >> >> Regards, >> >> Ewan >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.