After generating oauth client id and password in gcp
I authenticated the google ads and sent a search request, but there was an 
error as follows.
But strangely, certain mannager accounts do not cause errors, but some 
mannerger accounts cause errors.
(Both removed and requested hyphens (-)
What's the problem?
The error below is a manger account that removes the hyphen (-) and 
transfers the error that occurred when the search request was made.

(<_SingleThreadedRendezvous of RPC that terminated with:
        status = StatusCode.PERMISSION_DENIED
        details = "The caller does not have permission"
        debug_error_string = 
"{"created":"@1647847100.582000000","description":"Error received from peer 
ipv4:216.58.220.138:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"The
 
caller does not have permission","grpc_status":7}"
>, <_SingleThreadedRendezvous of RPC that terminated with:
        status = StatusCode.PERMISSION_DENIED
        details = "The caller does not have permission"
        debug_error_string = 
"{"created":"@1647847100.582000000","description":"Error received from peer 
ipv4:216.58.220.138:443","file":"src/core/lib/surface/call.cc","file_line":1067,"grpc_message":"The
 
caller does not have permission","grpc_status":7}"
>, 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";
}
request_id: "OZ_-1GsLyYd7LZq3Th63uQ"
, 'OZ_-1GsLyYd7LZq3Th63uQ')

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8331892b-b036-48e0-b883-8380e5ed9fbfn%40googlegroups.com.
  • Er... 박주호
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... 박주호

Reply via email to