Hello,

You must use a new refresh token with AdWords, as each refresh token allows 
for usage of a specific service as a specific account. This is a security 
measure; you shouldn't be able to use your DFA refresh token for AdWords 
because you only authenticated the usage of DFA.

Make sure to generate your refresh token when logged into the MCC account. 
If you're still having difficulties after doing that, please include the 
full error message you get when trying to make a request with your new 
refresh token.

Regards,
Mike, AdWords API Team

On Monday, February 2, 2015 at 5:26:03 PM UTC-5, [email protected] wrote:
>
> Hi,
>
> I'm working on integrating a DFA refresh token with the AdWords service in 
> a C# project. The WebConfig contains these key/values:
>
> <add key="OAuth2ClientId" value="XXX.apps.googleusercontent.com" />
>
> <add key="OAuth2ClientSecret" value="YYY" />
>
> <add key="OAuth2RefreshToken" value="1/ZZZ" />
>
>
> which are the same as used with DFA. When I attempt a request from 
> AdWords, though, an exception is thrown:
>
>
> 'Google.Api.Ads.AdWords.Lib.AdWordsCredentialsExpiredException'
>
>
> I tried a similar request using the AdWords test solution form GitHub and 
> go the same results. My current DFA project continues to work fine with 
> these credentials.
>
>
> Also, I generated a new refresh token from the OAuth 2.0 Playground using 
> the same account, but got an unauthorized account message when attempting 
> to query the AdWords service. I only did this to test my code and would 
> prefer to use just one token for both services.
>
>
> I can't find a solution using the normal methods, so I can any help you 
> throw my way would be really appreciated.
>
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e4253416-4b5d-44db-9def-5dd1456dcbe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to