Please find the attached snap1, snap2 and detailed exception we already have in ticket. We are able to get the authorization code but when we are passing it then getting the error. Method not giving the refresh token.
On Monday, October 7, 2019 at 7:08:24 PM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pravin, > > The error "Failed to exchange authorization code for access token" may > show up if the client ID being passed in later to get the authorization > token is not the same client ID that was passed in when the refresh token > was generated. Could you please verify this on your end and also, please > confirm if you are authorizing (manually accepting the prompt) after > logging into the correct account? Once you have the authorization code (the > code which is in the format"4/*********"), you will need to exchange this > to get the refresh token. Could you please confirm if you're performing > this? Please give this a try and let me know if the issue persists. > > Regards, > Nikisha Patel, Google Ads API Team > > > ref:_00D1U1174p._5001UKMC5H: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 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 "AdWords API and Google Ads 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/8ea69abe-e853-457f-8db6-518f847908c8%40googlegroups.com.