Re: Google Ads API Integration Error

2022-11-28 Thread Zweitze
This is C# / .NET library? Here are my suggestions to improve: GoogleAdsConfig config = new GoogleAdsConfig() { OAuth2Mode = Google.Ads.Gax.Config.OAuth2Flow.APPLICATION, OAuth2ClientId = secrets.ClientId, OAuth2ClientSecret = secrets.Cli

RE: Google Ads Api Integration

2021-11-08 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello, Thank you for raising your concern. I understand that you’ve encountered the error 'invalid_grant'. Can you please try regenerating your OAuth2 credentials along with the refresh token and see if this behavior persists? Please let us know if you continue to see this issue. Reminder: Sh

Re: Google Ads Api Integration

2021-11-08 Thread shahwar afzal
Hi team I am using a client library but i am get the bad request error when api hit the post method for google service Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad Request` response: { "error": "invalid_g

RE: Google Ads Api Integration

2021-11-07 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Shahwar, Thank you for raising your concern to our team. Please see my answer below for each question: 1. How can i do this OAUTH2 process in server side? -Could you confirm if what you are asking is how to set up OAuth2 for API access using web flow? If yes, then you can open this page, expa