Hi Nadine, If I don't put a clientCustomerId in my web.config, then OAuth is returning the error "CustomerID is required".
I am using the help given on the side https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2 In section "Scope" I have link to Adwords. In settings the user account, there is an access of the application to the campaign Adwords. Please help! :( Thank you! W dniu środa, 1 kwietnia 2015 18:32:01 UTC+2 użytkownik Nadine Sundquist (AdWords API Team) napisał: > > Hi Marcin, > > If you don't put a clientCustomerId in your web.config, then the > clientCustomerId passed back from the Customer object is the > clientCustomerId related to your OAuth credentials. Based on your > explanation and the error that is being returned, it sounds like you may be > trying to access a clientCustomerId that your OAuth user does not have > permissions to access. > > Best, > Nadine, AdWords API Team > > On Wednesday, April 1, 2015 at 4:39:24 AM UTC-4, Marcin Gdak wrote: >> >> Hmm I am getting Idas but only then when the same I have written down in >> webconfig. If it is different I am getting the error >> AuthorizationError.USER_PERMISSION_DENIED. >> >> My code in C# >> >> CustomerService customerservice = >> (CustomerService)user.GetService(AdWordsService.v201502.CustomerService); >> >> Customer customerActual = customerservice.get(); >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/50cb375f-a654-4cbb-bd10-d279a59cc0d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.