Hi, What account did you use when you authenticated using OAuth2? The credential should have access to client accounts under the MCC account. Please makes sure the client account agains which you got an error is under the MCC account you used as OAuth2 authentication.
Best, - Takeshi, AdWords API Team On Tuesday, September 24, 2013 6:38:05 PM UTC+9, bhavesh thakker wrote: > > 1.I provide the access through my user id using OAuth > 2.I get the exception later on like > AdwordsApi::V201302::CustomerService::ApiException: > AdwordsApi::V201302::CustomerService::ApiException > AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>'] > 3. The thing is, the same code works for most accounts but fails for few > accounts. Also, for those few accounts, I have send soetimes the code works > and sometimes the exception comes. > > Code: > Get the customerId using ManagedCustomerService > if I get 0 accounts, I go for CustomerService > i have handled he exception of NO_ADS_USER > > But the exception above is persistent! > > > > Below are the logs I get > > Exception occurred: AdwordsApi::V201302::CustomerService::ApiException > [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>'] > > > > and customer id isnt the issue as I try to get the customer if of logged > in user > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. For more options, visit https://groups.google.com/groups/opt_out.