Hi Miquel,
Thank you for reaching out to the Google Ads API support team.
With regards to your concern, you’ve encountered ‘USER_PERMISSION_DENIED' error. The ‘USER_PERMISSION_DENIED’ usually occurs due to incorrectly setting the 'login-customer-id’ in the request or not specifying login-customer-id in the request. Note that when a user doesn't have permission to access a customer and you’re accessing a client customer then the manager's customer ID must be set in the 'login-customer-id’ in the header request.
To resolve this, you will need to ensure that your OAuth2 credentials were generated while logged in as the user / email address that has access to the customer ID in your request. Also, if the said user / email address is one that has access to the MCC / manager of the customer account, then you may specify the MCC / manager account's ID as the login-customer-id.
To investigate the issue further, could you please provide us with the complete logs (
request and
response with
request-id) ? Please reply privately author option.
Thanks,
 |
| Nirmita |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2Xkk4Q:ref