googleads / googleads-dotnet-lib

Google Ad Manager SOAP API .NET client library
Apache License 2.0
108 stars 199 forks source link

Logging configuration - How to capture SOAP messages #254

Closed ngaisteve1 closed 9 months ago

ngaisteve1 commented 10 months ago

From the wiki on How to capture SOAP messages, it says Logging can be enabled or disabled by editing the value attribute of the AdsClientLibs.SoapXmlLogs and AdsClientLibs.RequestInfoLog

May I know where is SoapXmlLogs and RequestInfoLogs?

christopherseeley commented 10 months ago

These are set in the App.config file: https://github.com/googleads/googleads-dotnet-lib/blob/main/examples/AdManager/CSharp/App.config#L111

Although the wiki looks out of date - it should be AdsClientLibs.DetailedRequestLogs and AdsClientLibs.SummaryRequestLogs. I just updated it to the correct values.