Hello Julie,
In order to make an API call you need all the properties mentioned here
<https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/OAuth/Web.config#L50-L101>(Developer
token, refresh token, client ID, client Secret and ClientCustomerId). It is
obvious to throw the error when the refresh token is commented.
The error "Failed to refresh access token" means that your refreshToken is
probably expired. There might be an issue with your OAuth2 Credentials. I
would recommend to regenerate a new set of credentials by following this
guide <https://developers.google.com/adwords/api/docs/guides/authentication>
and update your Web.config
<https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/OAuth/Web.config>
file with the newly created credentials.
After this, you could retry making your service calls. If it still does not
work, kindly provide the error logs using reply privately to the author
option to investigate further.
Regards,
Sai Teja, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/1a0qo7o000000000o4fr2o000qsvdqz68mj2dpl70o30c1g68qjic9i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.