Hi there, I'm trying to use service account to make request to google ads api and have been getting the following error
status = StatusCode.UNAUTHENTICATED details = "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project." debug_error_string = "UNKNOWN:Error received from peer ipv**** {grpc_message:"Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", grpc_status:16, created_time:"2022-10-06T00:30:16.5288888+00:00"}" error_code { authentication_error: NOT_ADS_USER } message: "User in the cookie is not a valid Ads user." } I got the following details for authorization but wonder if I've missed something. "type": "service_account", "project_id": "", "private_key_id": "", "private_key": "" "client_email": "", "client_id": "", "auth_uri": "", "scope": "", "token_uri": "", "auth_provider_x509_cert_url": "", "client_x509_cert_url": "", "impersonated_email": "", "developer_token": "", "use_proto_plus": "" After going back to document again, I guess that impersonated email could be the missing piece. Could you tell me how and where to get this email? Is it from Google Ads Manager? Cheers -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/748ce88d-b07e-454b-b5fb-8d5a797b7223n%40googlegroups.com.