Hi Shweta,
Thank you for reaching out to the Google Ads API support team.
Moving forward to your concern, it seems that you've encountered the
USER_PERMISSION_DENIED error. The authorized customer does not have access to the operating customer. The common cause of this is when authenticating as a user with access to a manager account but not specifying login-customer-id in the request.
To prevent this kind of error, I would suggest specifying the login-customer-id as the manager account ID without hyphens (-). That being said, you will need to ensure that the user / email address you used to generate the credentials indeed has
access to the account in your request. If the user / email address has access or is associated with the MCC / manager account, you will need to specify the MCC / manager account's ID without hyphens (-) as the value of the
login-customer-id field.
If the issue still persists, could you please provide the complete
request and
response logs, with the
request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this
link.You can provide it via Reply privately to author option. If this option is not available, you may send the details directly to our
googleadsa...@google.com alias instead.
Let me know if you have any questions.
Thanks,
 |
| Nirmita |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2fpyZh:ref