I updated everything over like you said with the OAuthHandler class.

One of your staff said this. 


Takeshi Hagikura (AdWords API Team)[image: Google Employee] 
Nov 12
Hi Bikram,

If the accounts are not linked to your MCC, you need to get a separate 
access token (and a refresh token) for each client account. 
In that case, I think an installed application mechanism is not practical 
because it requires manual process for each account. 

You can use the web application 
flow<https://developers.google.com/accounts/docs/OAuth2#webserver> by 
preparing a web server that doesn't require manual process in your side 
when a client grants your application access to their data. 



Please give some insight in regards to accessing unlinked accounts. This is 
what I am interested in. Please understand my goal.

I need this to be able to authorize Adwords account users, that have 
nothing to do with my MCC account.


https://groups.google.com/forum/#!msg/adwords-api/8vhiFuU-4is/Y-UprxyBXQgJ



On Tuesday, December 10, 2013 10:44:13 AM UTC-5, Paul Matthews (AdWords API 
Team) wrote:
>
> Hi Christian,
>
> When you say you've done many changes, what kind of changes? Are you able 
> to get authentication working as per the 
> screencast<https://www.youtube.com/watch?v=KetKPhxY4Js>? 
> Using the video is the easiest way to get the authentication working.
>
> The USER_PERMISSION_DENIED is served when you're attempting to access an 
> unlinked account 
> <https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupService.AuthorizationError#reason>.
>
>
> Regards,
>
> - Paul, AdWords API Team.
>
>
> On Thursday, 14 November 2013 08:38:30 UTC-8, Christian Gibbs wrote:
>>
>> I keep getting, AuthorizationError.USER_PERMISSION_DENIED
>>
>> What is the point of them logging in, if you need to get their permission 
>> again.
>>
>> I want anyone to be able to access their adwords account, via our 
>> platform. Like so many other apps and websites do.
>>
>> I have refresh tokens and I can access my own account just fine, but with 
>> other account logins, I get this error 
>> AuthorizationError.USER_PERMISSION_DENIED
>>
>> It make the app pointless, if I have to manually add ever client in and 
>> then allow them to login.
>>
>> So many apps allow this kind of access. How is it possible?
>>
>> I made a google app, that has a google login authorization prompt screen, 
>> then once the user consents, the login is successful but I can not access 
>> their data.
>>
>> Im stuck in a circle and its driving me crazy. Please HELP!
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to