Hi, Thanks for your email. Actually, I am using .net client library to access Adwords data, since we have multiple MCC accounts, there are bunch of Client id's associated to each MCC account. I have a table that contains each Client Id and authentication details . I have developed a C# program which will read all the accounts one by one and retrieve AdWords data and store them in to local sql table. I have single approved developer token. How can I access client account data that belong to another MCC account. Is there any additional permission needs to be setup in order to access data for the Client ID's that belongs to another MCC account. Since there is not authorization I am receiving an error "USER_PERMISSION_DENIED". Please provide me how to retrieve that data or how to link the current token to another MCC accounts. I appreciate your help and thanks in advance.
Thanks Sam On Wednesday, June 13, 2018 at 3:47:48 PM UTC-4, Milind Sankeshware (AdWords API Team) wrote: > Hi Sam, > > The USER_PERMISSION_DENIED > <https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED> > that > you are getting in the API is because there is no link between the manager > account authenticated in the request and the client account specified in > the headers. To check if manager account is linked with the client account, > could you please follow the two steps given below? > > 1. Perform a CustomerService.getCustomers() > > <https://developers.google.com/adwords/api/docs/reference/v201806/CustomerService#getcustomers> > and > check for the results. If you are using the credentials of a manager > account, it will list the MCC accounts and any other accounts that user > has > direct access to. > 2. You can then perform a ManagerCustomerService.get() > > <https://developers.google.com/adwords/api/docs/reference/v201806/ManagedCustomerService#get> > for > the Manager account from results of step 1. The target account should be > listed in this call. If not, the credentials cannot access that account. > > If you are still facing any issues, could you please share the SOAP > request and response logs along with CID and the email Id of the user > authenticating the API call? You could choose '*Reply privately to author*' > option while responding. > > Thanks, > Milind, AdWords API Team. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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 https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ab3da169-e4f5-472a-8a60-9166c417c413%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.