Thank's, I missed that section, it solves the loging problem! Best regards Harut.
On Tue, Aug 4, 2009 at 12:26 PM, AdWords API Advisor < adwordsapiadvi...@google.com> wrote: > > Hi Harut, > > How about <soapExtensionTypes> in <system.web> section? Are they in > place as well? > > Regards, > Anash P. Oommen, AdWords API Team > > On Aug 4, 12:04 pm, Harutyun Terteryan <harr...@gmail.com> wrote: > > Hi, > > > > I have compared our web.config with mine, and the <AdWordsApi> section is > > exactly same. > > > > regards > > Harut. > > > > On Tue, Aug 4, 2009 at 11:36 AM, AdWords API Advisor < > > > > adwordsapiadvi...@google.com> wrote: > > > > > Hi, > > > > > I made a simple web project that uses the library, my web.config is > > > given below. Can you compare your web.config against this one and see > > > if they match? > > > Also, setting the MaskCredentials flag as true will mask your > > > credentials (password, developer token, application token, authtoken, > > > etc.) in the SOAP logs. > > > > > <?xml version="1.0"?> > > > <configuration> > > > <configSections> > > > <section name="AdWordsApi" > > > type="com.google.api.adwords.lib.ApplicationConfiguration,google-api- > > > adwords-dotnet"/> > > > </configSections> > > > <AdWordsApi> > > > <!-- Change the appropriate flags to turn on SOAP logging. --> > > > <add key="LogPath" value="C:\Logs\"/> > > > <add key="LogToConsole" value="false"/> > > > <add key="LogToFile" value="true"/> > > > <add key="MaskCredentials" value="true"/> > > > > > <!-- Fill the following values if you plan to use a proxy server.-- > > > > > <add key="ProxyServer" value=""/> > > > <add key="ProxyUser" value=""/> > > > <add key="ProxyPassword" value=""/> > > > <add key="ProxyDomain" value=""/> > > > > > <!-- Fill the header values. --> > > > <add key="CompanyName" value="ENTER_YOUR_COMPANY_NAME_HERE"/> > > > <add key="Email" value="ENTER_YOUR_EMAIL_HERE"/> > > > <add key="Password" value="ENTER_YOUR_PASSWORD_HERE"/> > > > <add key="ClientEmail" value="ENTER_YOUR_CLIENT_EMAIL_HERE"/> > > > <add key="DeveloperToken" value="ENTER_YOUR_DEVELOPER_TOKEN_HERE"/ > > > > > <add key="ApplicationToken" > > > value="ENTER_YOUR_APPLICATION_TOKEN_HERE"/> > > > > > <!-- Uncomment this key and comment ClientEmail if you want to > > > specify > > > customer id instead of customer email. --> > > > <!-- <add key="ClientCustomerId" > > > value="ENTER_YOUR_CLIENT_CUSTOMER_ID_HERE"/> --> > > > > > <!-- Uncomment this key if you want to use v13 sandbox. --> > > > <!--<add key="v13.Url" value="https://sandbox.google.com"/>--> > > > > > <!-- Uncomment this key if you want to use v200906 sandbox. --> > > > <!-- <add key="v200906.Url" value="https://adwords- > > > sandbox.google.com"/> --> > > > </AdWordsApi> > > > <system.web> > > > <webServices> > > > <soapExtensionTypes> > > > <add type="com.google.api.adwords.lib.TraceExtension, google- > > > api-adwords-dotnet" priority="1" group="0"/> > > > <add type="com.google.api.adwords.lib.ApiUnitsExtension, > > > google-api-adwords-dotnet" priority="1" group="0"/> > > > </soapExtensionTypes> > > > </webServices> > > > <compilation debug="true"/> > > > <authentication mode="Windows"/> > > > </system.web> > > > </configuration> > > > > > Regards, > > > Anash P. Oommen, AdWords API Team > > > > > On Aug 4, 9:34 am, Harutyun Terteryan <harr...@gmail.com> wrote: > > > > Hi > > > > > > Here is a snippet of my web.config file > > > > > > <!-- Change the appropriate flags to turn on SOAP logging. --> > > > > <add key="LogPath" value="C:\Logs\"/> > > > > <add key="LogToConsole" value="false"/> > > > > <add key="LogToFile" value="true"/> > > > > <add key="MaskCredentials" value="true"/> > > > > > > But it logs nothing anyway! > > > > > > and can you tell me the reason of MaskCridentials? > > > > > > Regards > > > > Harut. > > > > > > On Mon, Aug 3, 2009 at 9:53 PM, AdWords API Advisor < > > > > > > adwordsapiadvi...@google.com> wrote: > > > > > > > Hi Harroot, > > > > > > > Are you modifying the keys in the App.config of your exe? The > > > > > configuration keys should be in your main application's app.config, > or > > > > > web.config if you are developing a web application. The app.config > > > > > included with the library is for reference purposes only. > > > > > > > Regards, > > > > > Anash P. Oommen, AdWords API Team > > > > > > > On Jul 31, 5:20 pm, Harutyun Terteryan <harr...@gmail.com> wrote: > > > > > > Hi all > > > > > > > > Why the AdWords .net API client does not log any information > about > > > > > > response, though I have mentioned the value of 'LogToFile'( in > > > config > > > > > file) > > > > > > field = true. > > > > > > > > Best regards > > > > > > Harroot. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~----------~----~----~----~------~----~------~--~---