Hi All,
we use Ads API V11 and download campaign information by standard. If the customer sends us an invitation to access the account and we confirm this, everything works fine.
The problem occurs if we request access via MMC and the customer confirms the request. We get access as administrators, we can set everything up via the web, but when we programmatically access it returns an error that we don't have access. In both cases we use the same account ID where we want to access.
I would be grateful for any advice on how to solve this problem.
{
"StatusCode": 7,
"Details": "The caller does not have permission",
"RequestId": "64Kw0QNyzbkpfT37jGY0gQ",
"Failure": {
"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": "64Kw0QNyzbkpfT37jGY0gQ"
}
}