How to enable SOAP log for client library >= v22.0

40 views
Skip to first unread message

Caihua Du

unread,
Nov 3, 2017, 3:27:45 PM11/3/17
to AdWords API Forum
Hi there, 

We are trying to update our c# client library to v22.3. However according to this post, the SOAP logging is not supported anymore: https://github.com/googleads/googleads-dotnet-lib/wiki/Upgrading-your-client-library-to-v22.0.0

Since SOAP logging is very critical to troubleshooting, is there a way for us to enable the SOAP logging in the new library?

Thank you!
Caihua. 

Shwetha Vastrad (AdWords API Team)

unread,
Nov 3, 2017, 4:51:36 PM11/3/17
to AdWords API Forum
Hi Caihua

Starting in v22.0.0 of the Ads API .NET library, SOAP backend has been upgraded from System.Web.Services to System.ServiceModel (WCF). As a result, SOAP extensions are no longer used for logging. You can still configure your logging settings through the system.diagnostics section of the App.config. If you need similar behavior to the SOAP extension, you can create a custom IClientMessageInspector and apply it to the service instead. Please see this guide for more details. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages