Qestions about proxy class

0 views
Skip to first unread message

Kelvin

unread,
Nov 10, 2009, 2:36:32 PM11/10/09
to AdWords API Forum
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

AdWords API Advisor

unread,
Nov 11, 2009, 10:33:48 AM11/11/09
to AdWords API Forum
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

Kelvin

unread,
Nov 11, 2009, 11:40:14 AM11/11/09
to AdWords API Forum
Thanks, it does help.

On Nov 11, 11:33 pm, AdWords API Advisor
> > Kelvin- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages