Method AdGroupService.get can not be reflected.

14 views
Skip to first unread message

Soapy

unread,
Nov 23, 2009, 6:30:35 AM11/23/09
to AdWords API Forum
I'm trying to port and application from V13 to 2009 in vb.net (2005
express) but am getting an error when trying to create a "new"
instance of the adservice.

[code]

Dim adservice As AdGroupService
adservice = New AdGroupService ' << - causes error "Method
AdGroupService.get can not be reflected."

[/code]

I've tried two different methods:

1) Adding a webreference https://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
to the project

2) By creating a vb file using wsdl.exe /language:VB /order
https://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
and adding this to the project.

(The code above is from method 2)

Both methods generate the error "Method AdGroupService.get can not be
reflected." Any ideas?

AdWords API Advisor

unread,
Dec 11, 2009, 2:00:11 PM12/11/09
to AdWords API Forum
Hi,

Please see the following thread for more information about .NET and
v2009:

http://groups.google.com/group/adwords-api/browse_thread/thread/fcde4e1d252152f5/

Best,
- Eric Koleda, AdWords API Team


On Nov 23, 6:30 am, Soapy <adwo...@propersmart.com> wrote:
> I'm trying to port and application from V13 to 2009 in vb.net (2005
> express) but am getting an error when trying to create a "new"
> instance of the adservice.
>
> [code]
>
> Dim adservice As AdGroupService
> adservice = New AdGroupService  ' << - causes error "Method
> AdGroupService.get can not be reflected."
>
> [/code]
>
> I've tried two different methods:
>
> 1) Adding a webreference  https://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
> to the project
>
> 2) By creating a vb file using wsdl.exe /language:VB /orderhttps://adwords.google.com/api/adwords/cm/v200909/AdGroupService?wsdl
Reply all
Reply to author
Forward
0 new messages