Google AdWords API: Service Account Access

I'm trying to create my first app that retrieves campaign data from AdWords, but I have problems. This is where I am located:

  • NuGet API package installed
  • Created an MCC Test account and an AdWords test account
  • AdWords API Developer account created (in LIVE adwords account)
  • Created a project as well as a service account in my test account in the Google Developers Console.
  • Posting my Web.config with the OAuth account data of the service account / p 12.

When I launch the application, I get the following response:

Failed to get access token for service account.
{
 "error" : "access_denied",
 "error_description" : "Requested scopes not allowed: https://adwords.google.com/api/adwords/"
}

Since AdWords is not an option on the API tab in the Google Developers Console project, I'm not sure where to go.

(: https://developers.google.com/adwords/api/docs/guides/service-accounts) , https://www.google.com/a/cpanel/YOUR_DOMAIN/ManageOauthClients YOUR_DOMAIN , . , AdWords, , - , . , My Account = > Preferences = > API, , , , , C# , , Test Developer : https://groups.google.com/forum/#!topic/adwords-api/EChRX1RFaUk.

. Google , , , , .

+3
2

. AdWords : " API AdWords v201409, ". Google, , . , 2 , . , !

+1

, OAuth2, .

OAuth2 Google , Google Apps (, gmail docs). -.

Google Adwords API Workshop OAuth2: http://www.youtube.com/watch?v=xjaJMagip5s&list=PLKByxjzUC-N_yESo9Ke25eiPC3Gw4bbsL&index=3

OAuth2, OAuth2: https://developers.google.com/oauthplayground/

0

All Articles