Hello, I am building web app allow user can login Google through OAuth2 API, then I will get all accounts of Google Ads. But sometimes I get this error (<_InactiveRpcError of RPC that terminated with: status = StatusCode.PERMISSION_DENIED details = "The caller does not have permission" debug_error_string = "UNKNOWN:Error received from peer ipv4:173.194.193.95:443 {created_time:"2024-08-20T19:51:11.94104574+00:00", grpc_status:7, grpc_message:"The caller does not have permission"}" >, <_InactiveRpcError of RPC that terminated with: status = StatusCode.PERMISSION_DENIED details = "The caller does not have permission" debug_error_string = "UNKNOWN:Error received from peer ipv4:173.194.193.95:443 {created_time:"2024-08-20T19:51:11.94104574+00:00", grpc_status:7, grpc_message:"The caller does not have permission"}" >, 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: "3sUCTMfJmir9N0FJITjCyg" , '3sUCTMfJmir9N0FJITjCyg') I have used query is SELECT customer_client.id, customer_client.descriptive_name, customer_client.manager, customer_client.currency_code FROM customer_client where customer_client.manager = false. After get list manager account the user has direct access to through List Accessible Accounts <https://developers.google.com/google-ads/api/docs/account-management/listing-accounts> return. I have used this query to get all accounts of it but I have noticed sometimes I got this error.
-- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/e78d1daa-dc43-4085-ab3a-641201c69269n%40googlegroups.com.