{
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "
type.googleapis.com\/google.ads.googleads.v14.errors.GoogleAdsFailure",
"errors": [
{
"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 the 'login-customer-id' header. See https:\/\/
developers.google.com\/google-ads\/api\/docs\/concepts\/call-structure#cid"
}
],
"requestId": "1MlYmEkhECnzOB2hrsc7Kw"
}
]
}
The error occurs when trying to make the API call
My main doubt is:
We have the credentials and we get the MCC, in this case,
the MCC would be the manager's customer id? And if so, where should I insert it in the code?
Thank you very much!