Hi, I found the issue. I was passing correctly the *login-customer-id* the issue was in the URL https://googleads.googleapis.com/v11/customers/*[CUSTOMER_ID]* /customerClientLinks:mutate
Google says *[CUSTOMER_ID]* should be customer id but it should be equal to *login-customer-id == [CUSTOMER_ID]* So when I pass the same ID to both parameters API works. On Wed, Jul 6, 2022 at 8:14 PM Google Ads API Forum Advisor <[email protected]> wrote: > Hi Aman, > > Thank you for raising your concern. Allow me to provide support. > > It appears that you are experiencing the USER_PERMISSION_DENIED error. > This error occurs when you're not specifying the customer ID of the Google > Ads Account, where your login user account / email address (that you've > used to generate Oauth2 credential) has direct access, to the > login-customer-id. If your login user account / email address has access to > the manager account, then its customer id must be set in the > login-customer-id header. > > If the error persists after trying the provided suggestion, please provide > the email address / user account used in the authentication and the > complete request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > logs with request ID > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers> > generated on your end to further investigate. > > You can provide it via *Reply privately to author* option. If this option > is not available, then send it instead on this email address > [email protected]. > > Regards, > [image: Google Logo] > Ernie John > Google Ads API Team > > > ref:_00D1U1174p._5004Q2cT9cV: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 [email protected] To unsubscribe from this group, send email to [email protected] 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/CAB0%2BXccC%3Dc%2BaKWPRcbBYHCEJGeCboye83SUz8bRjp%2Bb_dcXtDQ%40mail.gmail.com.
