Hi, I'm new to the Adwords API and just trying to do my first request using C#.
I downloaded the sample code provided online and is writing a small console application following the tutorial available in the following link: https://developers.google.com/adwords/api/docs/first-request?hl=en#dotnet I have arrived at Step 4, but an exception is being raised on the following line of code BudgetReturnValue budgetRetval = budgetService.mutate(new BudgetOperation[] { budgetOperation }); The exception being raised is the following: {"[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']"} The configuration settings within the App.config file should be well configured. Below are some details on the procedure I have taken to get these settings. *DeveloperToken* - has been extracted from the Adwords API Center and has its access level set to Test Accounts *ClientCustomerId *- This has been copied from my personal account from the Google AdWords Manager page *AutorizationMethod *- OAuth2 *OAuth2ClientId* - This has been generated from the Google Developers Console. I set up a new project and created a new set of credentials (OAuth Client ID) and application type set as other. Prior to this step I set up OAuth consent screen (fields populated: Email address and Product name shown to users) *OAuth2ClientSecret *- This has been generated from the Google Developers Console. I set up a new project and created a new set of credentials (OAuth ClientID) and application type set as other (same step as above) *OAuth2RefreshToken *- I have used the sample application OAuthTokenGenerator downloaded from the sample code. The parameter values used are the ones as extracted from the steps just described above (OAuth2ClientId, OAuth2ClientSecret, selected option 'AdWords API') and granted access to the Product name created in the OAuth consent screen above Any ideas in what I'm missing? Thanks in Advance, Bernard -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e294e509-90da-47bf-9105-83716a486157%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
