This code example lists all campaigns. To add a campaign, run AddCampaign.cs.
An exception occurred while running this code example. System.Reflection.TargetInvocationException (Exception has been thrown by the target of an invocation.)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at AdWordsConsoleApp.Examples.CSharp.Program.InvokeRun(Object codeExample, AdWordsUser user) in \\nhafile100\user_data$\solson\Documents\Visual Studio 2017\Projects\AdWordsConsoleApp\AdWordsConsoleApp\Program.cs:line 138
at AdWordsConsoleApp.Examples.CSharp.Program.RunACodeExample(AdWordsUser user, Object codeExample) in \\nhafile100\user_data$\solson\Documents\Visual Studio 2017\Projects\AdWordsConsoleApp\AdWordsConsoleApp\Program.cs:line 97
System.ApplicationException (Failed to retrieve campaigns)
at AdWordsConsoleApp.Examples.CSharp.v201710.GetCampaigns.Run(AdWordsUser user) in \\nhafile100\user_data$\solson\Documents\Visual Studio 2017\Projects\AdWordsConsoleApp\AdWordsConsoleApp\v201710\BasicOperations\GetCampaigns.cs:line 89
Google.Api.Ads.AdWords.Lib.AdWordsApiException (AdWordsApiException: Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown.
User doesn't have permission to access customer.. (Error: AuthorizationError.USER_PERMISSION_DENIED, FieldPath: , Trigger: <null>)
I've looked into the error/forums and the only mention is the accounts aren't linked. I created the test manager account from the manager account and the test client from the test manager account. My understanding is that linking accounts is on the production side. The test client created from the test manager doesn't even have its own email as far as I can tell.