Solution was to use: prompt=consent
istead of: approval_prompt=force because API have changed. This can be marked as solved. On Wednesday, December 7, 2016 at 8:45:52 PM UTC+1, Shwetha Vastrad (AdWords API Team) wrote: > > Hi Sebastian, > > Can you confirm that you followed the steps provided here > <https://github.com/googleads/googleads-php-lib/wiki/%5BEXPERIMENTAL-BRANCH%5D-API-access-on-behalf-of-your-clients-(web-flow)> > to > retrieve your refresh token? The reason GetRefreshToken.php didn't work > either is because the response didn't contain a refresh token. Could you > try getting the refresh token using this command? > > curl \ > -d code=your-authorization-code \ > -d client_id=your-client-id \ > -d client_secret=your-client-secret \ > -d redirect_uri=your-redirect-uri \ > -d grant_type=authorization_code > https://accounts.google.com/o/oauth2/token > > This will help me determine if the credentials have been setup correctly. > Please use *Reply privately to author* if you're sending private > information. > > 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 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. 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/517817a8-a4c2-4e24-b3b6-e7a0b1439581%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.