Hi Marcin,

Let me recap the process that you're following. It should be this:

   1. Follow the OAuth2 ASP.NET code example on how to do an OAuth2 flow 
   and capture the access and refresh token.
   2. Set the access and refresh token to user.Config dynamically at 
   runtime and call CustomerService.get()
   3.  Set the customerId to user.Config dynamically and make further calls.

Here are some troubleshooting tips on figuring out why your refresh token 
is not coming back:

   - You may have another login session active somewhere that is 
   interfering with the flow. 
      - Close the browser.
      - Close the Visual Studio debugger web server (if it is accessible 
      from the system tray).
      - Try running through the whole flow again.
   - If that does not work, the refresh token may not be making itself 
   available to the flow.
      - Turn on logging and see if the server is sending the refresh token 
      back. The refresh token may be getting sent back, but the client library 
      may not be picking it up.
      - Here's a guide 
      
<https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages>
 on 
      capturing messages.
   
Best,
Nadine, AdWords API Team

On Friday, April 3, 2015 at 5:01:59 AM UTC-4, Marcin Gdak wrote:
>
>
> Hi Nadine,
>
> I try this, but "oAuth.RefreshToken" is empty. I noticed that the same I 
> could not get the user e-mail. If I put a clientCustomerId in my 
> web.config, then I  have a full access to Adwords API. RefreshToken must be 
> good but I can't pick it up :( 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a79d672e-3bce-40d6-88f5-c6c895c2eb56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to