Now , I just used the Client Library (.Net) for authentication , in "OAuth2ProviderBase" class we have these lines:
protected string TOKEN_ENDPOINT = "https://accounts.google.com/o/oauth2/token"; //..... WebRequest request = HttpWebRequest.Create(TOKEN_ENDPOINT); request.Proxy = config.Proxy; request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; //... response = request.GetResponse(); it gets *Error 400 - Bad Request*. the body is look like this: *client_id=XXX&client_secret=XXX&refresh_token=XXX&grant_type=refresh_token* Is this because of wrong URL? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/336fb38f-69ed-48a7-83ee-2ee3ca04a34b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.