Hi Shwetha, 

My above code works, I actually had an error on my end but it works. The 
guide you linked to does not detail how to get a new oauth2 token and 
generate a new session using the user's refresh token. The code that I 
posted above does do just that though.

Thanks!


On Monday, May 22, 2017 at 1:12:59 PM UTC-5, Shwetha Vastrad (AdWords API 
Team) wrote:
>
> Hi Josh, 
>
> This guide 
> <https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow)>
>  provides 
> an example on implementing OAuth2 authentication using web flow. Could you 
> try using the code snippet provided in that guide to get your OAuth2 
> tokens? If this doesn't work, please provide the error message you receive 
> so I can take a look. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f82688d7-7fce-4611-aa43-d65588bdd824%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to