Re: missing refresh_token error even though it's there

2023-06-28 Thread Henrik Ravnskjær
Instead of using app.config I changed the code to include a config when I create the client. GoogleAdsConfig config = new GoogleAdsConfig() { OAuth2Mode = Google.Ads.Gax.Config.OAuth2Flow.APPLICATION, OAuth2ClientId = ClientId, OAuth2ClientSecret = ClientSecret,

Missing refresh_token error even though it's there

2023-06-26 Thread Henrik Ravnskjær
First off. I'm really new to Google Ads API. I'm trying to created a small C# console app to retrieve some basic ads info (clicks, impressions..) I have created a cloud app to get a client ID and secret. Enabled Google Ad API. I have the developer token from Google Ads API Center. (It is still