Hello All,
We have an issue with PERMISSION_DENIED and this is a typical case. As an
agency we need to look into the budget spend of all our accounts(customer
Id) and we have a significant number of customer id's in our MCC.
Everything is running great, but sometimes our clients revoke the
permissions to our MCC which causes the entire application feature to fail
as we get the following error message. We can fix it by removing the
particular customer id from our database, but there should be some way to
handle this error and skip that customer id and show the rest of the
customers. Any help is appreciated and thanks in advance.
{ "message": "The caller does not have permission", "code": 7, "status":
"PERMISSION_DENIED", "details": [ { "@type":
"type.googleapis.com\/google.ads.googleads.v10.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": "oPnFAn7LgarGFOowTL_pOg" } ] }
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1dcb30f8-3c28-4400-9293-e00d8d4acb01n%40googlegroups.com.