Hi Andy, That's due to Microsoft runtime serializer (the part that generates the .Serializer.dll assembly when you do SGEN) confusing between SoapHeader class in API and System.Web.Services.Protocols.SoapHeader from the runtime library. There are whole bunch of issues to work around if you choose to work directly with stub classes generated by Visual Studio 2008. See http://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary for details.
I'd recommend using the AdWords API .NET client library instead. It is written in C#, but has code examples in VB.NET too, so migrating the existing code should be straightforward. The code you posted should work with minimal changes with the client library. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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
