Karuna,

This is great to hear.  Is there any reason why you are using a service 
account?  Please review our ClientLogin to OAuth 2.0 migration 
guide<https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-migration-guide>.
 
 In most cases, you should be able to use Installed Application.

Thanks,

Ray

On Monday, March 3, 2014 2:20:07 AM UTC-5, 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