I am using installed application type in Oauth2 now to make it work. Try 
using it https://developers.google.com/accounts/docs/OAuth2InstalledApp

On Monday, 3 March 2014 12:50:07 UTC+5:30, karuna karan wrote:
>
> In google adwords, ClienLogin method is deprecated. I need to switch over 
> to Oauth2 authentication method
>
> My example code is below,
>
>   :method: OAUTH2_JWT
>   :user_agent: test
>   :developer_token: "*********"
>   :oauth2_issuer: "*********@developer.gserviceaccount.com"
>   :oauth2_secret: notasecret
>   :oauth2_keyfile: '*********-privatekey.p12'
>   :client_id: *********.googleusercontent.com
>   :oauth2_prn: *********@developer.gserviceaccount.com
>   :client_customer_id: *********
> When i running the request , i am getting error as below
>
>   Authorization failed.  Server message: (Signet::AuthorizationError)
>   {
>     "error" : "access_denied",
>     "error_description" : "Requested scopes not allowed:         
> https://adwords.google.com/api/adwords/";
>   }
> Anyone tell me solution to fetch the access token.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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