Unable to set developer_XXX

1 view
Skip to first unread message

Steve

unread,
Nov 13, 2009, 11:45:53 PM11/13/09
to AdSense API Forum
Hi,

My working enviroment VS2008 .net c# win XP sp3 and
https://sandbox.google.com/api/adsense/v2/AccountService?wsdl

I am having hard time figuring out how to set the header (like the
example). The intellisense won't display any developer_XXX

Here is the CreateAccount.cs I downloaded.

service.developer_emailValue = new serverAccountService.developer_email
();
service.developer_emailValue.Text = new string[] { developerEmail };
service.developer_passwordValue = new
serverAccountService.developer_password();
service.developer_passwordValue.Text = new string[]
{ developerPassword };
service.client_idValue = new serverAccountService.client_id();
service.client_idValue.Text = new string[] { clientId };

Also, it won't initiate serverAccountService.developer_email();

I download a vb.net example and before "update web reference", it
works fine. After I "update web reference", all developer_XXX won't
show up on the intellisense.

I also tried using web service for v3 https://sandbox.google.com/api/adsense/v3/AccountService?wsdl,
same problem. Can't bring up any developer_XXX.

Thanks
Reply all
Reply to author
Forward
0 new messages