Hi
My web application asks clients to move their MCCs under my account so that
the web app can manage the account. To do so, I want to send and accept a
merge invitation of the account.
The client will be asked to give our app access to their account, and I am
given an Auth Code.
Using the AuthCode, I call
oAuth2Provider.FetchAccessAndRefreshTokens(AuthCode)
And then store the resulting refresh token with their client customer id.
I then want to use that refresh token hours later to make the API calls
that will send and accept the invitation. How do I request a new Access
Token given the stored Refresh Token? I am not storing the client's
account client_secret, just the refresh token and Client Customer Id.
i have tried:
oAuth2Provider.RefreshToken = RefreshToken
oAuth2Provider.RefreshAccessToken()
but this doesn't work.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/692d804d-e8b8-4d33-95a6-d8cd3318f57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.