Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-17 Thread Google Ads API Forum Advisor
Hi Pratik, Let us know if you have any further questions related to Google Ads API. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2Lkmcl:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-17 Thread pratik patel
Thank you Ramesh & Lakshmi. I have the same issue I think. I have also a consent screen showing in Testing. I change the status of it and will check after 7 days. Regards, Pratik Patel On Thursday, 12 August 2021 at 23:50:45 UTC+5:30 rames...@minstersoft.co.uk wrote: > Thank you Lakshmi. > >

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-12 Thread Ramesh Pun
Thank you Lakshmi. On Wednesday, 11 August 2021 at 15:42:08 UTC+1 adsapi wrote: > Hi Ramesh, > > This is Lakshmi from Google Ads API team. I work along with Matt. Glad to > hear that your issue was resolved. Yes in testing phase, the refresh token > will expire in 7 days. OAuth guide: > https:

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-11 Thread Google Ads API Forum Advisor
Hi Ramesh, This is Lakshmi from Google Ads API team. I work along with Matt. Glad to hear that your issue was resolved. Yes in testing phase, the refresh token will expire in 7 days. OAuth guide: https://developers.google.com/identity/protocols/oauth2#expiration In order to send the private me

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-11 Thread Ramesh Pun
Hi, Thank you for the response. I've created new OAut2 credentials with publishing status of 'In Production' and it's working fine till now. I think, the problem might have occurred in first place because previously OAuth2 Credentials might have been created when publishing status was 'In Test

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-09 Thread Google Ads API Forum Advisor
Hi Ramesh, Can you please reply privately with the complete request and response logs so that we can have a closer look? Also, can you please confirm that you have enabled the Ads API in your Console project? Thanks, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2Lkmc

Re: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-06 Thread Ramesh Pun
Hi I'm receiving similar kind of error to the queries above by @anay. This is my third time that I've regenerated my OAuth2 credentials. I see the following errors: GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` res

RE: Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-05 Thread Google Ads API Forum Advisor
Hello, Thanks for reaching out. Can you please try regenerating your OAuth2 credentials along with the refresh token and see is this behavior persists? Please let us know if you continue to see this issue. Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2Lkmcl:

Google Adwords/Ads API Invalid_grant error Bad Request

2021-08-05 Thread pratik patel
Hi, If we generate new access token and refresh token and after that it will work all requests using google ads api/ adwords api. But after some days if we going to try same call giving error 'Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` res