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