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/86ec463e-0847-4b3b-94ad-075421e3127f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to