Hi,
I have migrated From Client Login to Access token
i am using the below code after migration
i have modified my earlier code after getting OAuth2ClientId
,OAuth2ClientSecret ,OAuth2RefreshToken as below
Dim config As AdWordsAppConfig = DirectCast(user.Config,
AdWordsAppConfig)
config.Email = "[email protected]"
config.Password = "xxxxxxx!"
config.UserAgent = "xxxxx"
config.DeveloperToken = "xxxxxxxxxxxxxxxxxx"
config.AuthorizationMethod = AdWordsAuthorizationMethod.OAuth2
config.ClientCustomerId = "123-456-7890".ToString.Replace("-",
"")
config.OAuth2ClientId =
"xxxxxxxxxxx-i4xxxxxxxxxxxxxxxxx.apps.googleusercontent.com"
config.OAuth2ClientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxx"
config.OAuth2RefreshToken = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"
but now i get this error
* Failed to refresh access token.*
* {*
* "error" : "invalid_grant"*
* }*
*please let me know if i am missing something*
On Friday, July 11, 2014 3:40:08 PM UTC+5:30, Altaf Mulla wrote:
>
> Hi
>
> I am using Google AdWordsService.v201306
>
> in this i am using the campaign Service
> AdWordsService.v201306.CampaignService
>
> page = CampaignServiceObj.get(selector)
>
> i am getting error for this line
>
> Please let me know what is the issue
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/d/optout.