Hello,

I had this problem also for a number of use cases. After adding the 
manager's customer id in the ads client build, most of them were solved, 
but not all of them. Now, I have a couple of use cases in which, even when 
though the login-customer-id goes as a request header, the response gives 
me this:

Headers: {

  "google.ads.googleads.v8.errors.googleadsfailure-bin": 
"\n\u0001\n\u0002H\u0002\u0012\u0001User 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\u0012\u0016OlF4Ln0gLpOUnCTivOoOGA";,

  "grpc-status-details-bin": "\b\u0007\u0012#The caller does not have 
permission\u001a\u0002\nCtype.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure\u0012\u0002\n\u0001\n\u0002H\u0002\u0012\u0001User
 
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\u0012\u0016OlF4Ln0gLpOUnCTivOoOGA";,

  "request-id": "OlF4Ln0gLpOUnCTivOoOGA"

}

Fault: errors {

  error_code {

    authorization_error: 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";

}

What could be wrong here?

>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e7695d2a-3c62-4a3f-b036-80e51f4286b6n%40googlegroups.com.

Reply via email to