Hi Kelvin, There are two different ways to use .NET with the API. Our recommended method is to use the official AdWords API .NET Client Lirbary: http://code.google.com/p/google-api-adwords-dotnet/. Using this library does not involve adding web references, as the classes have already by generated from the WSDLs. This library also includes many helper classes that make using the API simpler. The examples you looked at likely came from this project.
The other option is to use the API without the client library. There is a separate collection of sample code for this approach: http://code.google.com/p/adwords-api-dotnet-samples/. Best, - Eric Koleda, AdWords API Team On Nov 10, 2:36 pm, Kelvin <xzl....@gmail.com> wrote: > A little confused about using AdWords API... Since I am new to web > service, after referencing the wsdl file(https://adwords.google.com/ > api/adwords/cm/v200909/CampaignService?wsdl) to my visual studio > project, and I found the corresponding Reference.cs file in > applicaition fold. However, with the new namespace and classes, I > couldn't figure out how to send a request like "getAllCampaigns"... > And the sample codes provided on the website seem totally different, > as I was not able to create the object of CompaignService and send > service by the object. > > Any idea? > > Thanks. > > Kelvin -- 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-...@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=.