Hi, Thank you for reaching out to the Google Ads API support team.
By reviewing your query, I understand that you are encountering an issue with the 'oauth2l' tool while trying to generate a refresh token for the Google Ads API. The error "missing 'type' field in credentials" usually indicates that there might be an issue with the structure or content of the credentials JSON file. Could you please confirm whether you have followed all the prerequisites before executing the command? Ensure that the downloaded credentials JSON file is in the correct format. Kindly check the required fields are present in your credentials JSON file. The error may be triggered if a required field is missing. If the issue persists, try regenerating the credentials JSON file from the Google Cloud Console. Make sure to download the JSON file again and use the new one. Also, you refer to this youtubte video to know more about how authentication and authorization work in the Google Ads API. This message is in relation to case "ref:!00D1U01174p.!5004Q02qVYIl:ref" Thanks, Google Ads API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/dH36g000000000000000000000000000000000000000000000S4VY3800TCtZd67jRBCxjbQ1Bnp8iA%40sfdc.net.