Error in .Net App.config / Web.config documentation ...

26 views
Skip to first unread message

BDCoder

unread,
Sep 16, 2014, 12:17:57 PM9/16/14
to adwor...@googlegroups.com
On Page:

When setting up a seperate config for Adwords, the code states the following:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 
<configSections>
   
<section name="DfpApi"
         
type="System.Configuration.DictionarySectionHandler"/>
 
</configSections>
 
<AdWordsApi configSource="AdWordsApi.config"/>

</configuration>


The correct code is:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 
<configSections>
   
<section name="AdWordsApi"
         
type="System.Configuration.DictionarySectionHandler"/>
 
</configSections>
 
<AdWordsApi configSource="AdWordsApi.config"/>

</configuration>


Ray Tsang (AdWords API Team)

unread,
Sep 16, 2014, 2:11:12 PM9/16/14
to adwor...@googlegroups.com
Hi,

The documentation beneath the code example has additional explanation around the node name depends on the API for which you are specifying.  I'll file a github issue to clarify that page.

Thanks!

Ray

Ray Tsang (AdWords API Team)

unread,
Sep 16, 2014, 2:13:27 PM9/16/14
to adwor...@googlegroups.com
A GitHub issue is created. https://github.com/googleads/googleads-dotnet-lib/issues/25

Please feel free to collaborate there for this issue.

Thanks!

Ray
Reply all
Reply to author
Forward
0 new messages