Hi, I am not sure if it’s the best place to report a problem – please point 
me in the right direction if it isn’t.

There is a bug/issue in the .NET client for the new Ads API beta: 
ConfigBase.cs, LoadConfigRoot(IConfigurationRoot configurationRoot) method, 
line 57:

setting => setting.Value.ToString());

The problem is that setting.Value can for some config files be null, which 
is not handled correctly.

Also a side note: current GoogleAdsConfig implementation is tied 
to ConfigurationManager, which is only used by .NET Framework for desktop 
programs. .NET Web applications, and specifically .NET Core applications 
use WebConfigurationManager which the current implementation of 
GoogleAdsConfig ignores, and so it doesn't pick up configuration from it. 
It's not a big deal because there is LoadConfigRoot(IConfigurationRoot 
configurationRoot) mentioned above, which allows to load configuration from 
anywhere - but it requires a bit of custom coding. Just thought I would let 
you know.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a8db4e7d-9819-41b4-8f89-3abfef8e60c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • New Ads API Beta - ... Vitaly Dukhota

Reply via email to