Hi Oliver, Thank you for posting your concern.
The invalid_grant (Malformed auth code) error occurs when attempting to generate a refresh token for a user that has already granted access to the requesting application. For example, this can happen when running the Authenticate in Web Application example more than once for the same OAuth client credentials and authorizing user. With this, in order to regenerate a refresh token for a given combination of authorizing user and OAuth client credentials, follow these instructions to revoke an existing refresh token. Note that revoking a token will render it unusable for Google Ads API access, and will invalidate any access tokens that the refresh token was used to generate. Furthermore, make sure to store your refresh token in a secure location to avoid the need for regeneration. Regards, Ernie John Google Ads API Team ref:_00D1U1174p._5004Q2Ykk1q:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/ifH_L000000000000000000000000000000000000000000000R8PO50007DxjBBgbR7O8gXCUNqGSKg%40sfdc.net.
