Hi,
I am using Google AdWords Version v201603 in that taking adwords account
data *Offline *using *Dot Net Web Service* that time i trying to *generate
tokens* offline using(delegate) and store that in Database and then
accessing this tokens for data retrieve that time access token generating
each time correctly but refresh token not generating.
follow is code i am using:
oAuth.OnOAuthTokensObtained += delegate(AdsOAuthProvider pp)
{
OAuth2ProviderForApplications oAuth =(provider as
OAuth2ProviderForApplications);
string refresht = oAuth.RefreshToken;
string accesst = oAuth.AccessToken;
Date updateo= oAuth.UpdatedOn;
int expire = oAuth.ExpiresIn;
}
Its throwing following error:
* Failed to refresh access token.*
* {*
* "error" : "invalid_grant"*
* }*
Please suggest me any another way or any correction/mistaken in existing
code to generate offline Refresh Token.
Thanks & Regards,
Pravin Yadav
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ed5efaca-ed32-4048-8099-2ca865d59454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.