Hello Bogdan, Thanks for reaching out to the Google Ads API support. I understand that you’ve encountered the error ‘USER_PERMISSION_DENIED’ after migrating process, usually this error occurs has the following root causes:
The link between the manager and client account was removed. Your OAuth credentials are for a user who does not have access to the client customer ID specified or any of its manager accounts. You may double check if your credentials are correct for the said user. With that, I would recommend that you regenerate the refreshToken and the OAuth2 credential using an email address which currently has access to your Google Ads account. And for setting the login-customer-id header details you can find here. However, in the testing phase, the refresh token will expire in 7 days. Please refer to this OAuth guide: https://developers.google.com/identity/protocols/oauth2#expiration If the issue persists, could you please provide us with the complete logs (request and response with request-id) via the Reply privately to the author option. Best regards, Jakeia Sabrina Google Ads API Team ref:_00D1U1174p._5004Q2WxuQ2: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 "Google Ads API and AdWords 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/gU3ad000000000000000000000000000000000000000000000R7Q9DS00LxGFYQHfRbyIf8TLUyv9NQ%40sfdc.net.