I will give you one update about this issue I have created Refresh Token using oAuth authorisation for my primary account (slum....@gmail.com) and when I have used it Customer was created properly. After that I have created Refresh Token using my second google account (ads....@gmail.com) and when I have used it PERMISSION_DENIED error occurred. On my mind I can create Customer using first account because Manager Account (8322203725) is available on this account. I cannot create Customer on any other google account. Could you tell me why? Does it matter that 8322203725 is a Test Manager Account? poniedziałek, 29 czerwca 2020 o 09:35:58 UTC+2 Radek Karkut napisał(a):
> Hello, thank you very much for your help. > > I'm trying to create new customer using client id 7608615007 > <(760)%20861-5007> (it's my account manager id) and but below error > occurs. Could you tell me why? > > Uncaught Google\ApiCore\ApiException: { > "message": "The caller does not have permission", > "code": 7, > "status": "PERMISSION_DENIED", > "details": [ > { > "@type": 0, > "data": "type.googleapis.com > \/google.ads.googleads.v3.errors.GoogleAdsFailure" > }, > { > "@type": 0, > "data": [ > { > "errorCode": { > "authorizationError": "USER_PERMISSION_DENIED" > }, > "message": "User doesn't have permission to access > customer. Note: If you're accessing a client customer, the manager's > customer id must be set in ApiException.php on line 139 > > > piątek, 26 czerwca 2020 o 17:12:02 UTC+2 adsapiforumadvisor napisał(a): > >> Hi Radek, >> >> Thank you for reaching out. If your client already has a Google Ads >> account, then you should follow these instructions >> <https://developers.google.com/google-ads/api/docs/account-management/linking-manager-accounts> >> >> to link that account to yours. If they don't have an existing account, then >> you should create one on their behalf using the example you shared. >> >> The login-customer-id >> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid> >> >> field should be set to the client customer ID of the manager account (your >> existing account in this case). >> >> Regards, >> Mitchell >> Google Ads API Team >> >> ref:_00D1U1174p._5004Q219d4e:ref >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b231164e-83c4-4f42-8585-37fe154317dcn%40googlegroups.com.