Hi Karuna,

If you really want to use JWT flow, then you need to allow your client to 
make calls to any account in your domain using the scope 
https://adwords.google.com/api/adwords. 
See https://developers.google.com/adwords/api/docs/guides/service-accounts 
for details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

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

Reply via email to