Hi,
I'm new to the Adwords API and just trying to do my first request using C#.
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