Hello Ravindra,

 The issue you're seeing is due to a naming conflict between built-
in .NET SOAP classes and the classes generated from the v2009 WSDLs.
You can work around them by editing the code that is generated from
the WSDL to rename the "SoapHeader" class to something like
"RequestHeader", and similarly the "SoapResponseHeader" class to
"ResponseHeader".

 Alternatively, and I think this is the better approach, you can just
download the official .NET client library and write your code against
that, as the library maintainer takes care of those issues for you:

  http://code.google.com/p/google-api-adwords-dotnet/

Cheers,
-Jeff Posnick, AdWords API Team


On Jul 21, 6:37 am, "Ravindra Saklecha" <[email protected]> wrote:
> Please excuse me. Forgot to attach the exception L
>
> From: [email protected] [mailto:[email protected]]
>
> Sent: Tuesday, July 21, 2009 4:03 PM
> To: [email protected]
> Subject: AdWords API Using the new Auth Token in V2009.
>
> Hi All,
>
>                 Sorry my prev mail got cut off I dunno how ?
>
> Anyways I have a issue when I am trying to consume the 2009 Campaign
> Service API in my dot NET application.
>
> I tried using both the sandbox and production URLs of campaign service.
>
> Production:https://adwords.google.com/api/adwords/cm/v200906/CampaignService?wsdl
>
> Sandbox:https://adwords-sandbox.google.com/api/adwords/cm/v200906/CampaignServic
> e?wsdl
>
> I added the web reference to my application and called the following
> line of code.
>
> WS_CampaignService.CampaignService _campaignServiceObject = new
> WS_CampaignService.CampaignService();
>
> I receieved an error which I have attached with this mail. Please look
> into it and let me know if I am missing anything. I am new to this
> google API thing.
>
> Thanks and regards,
>
> Ravi J
>
> --~--~---------~--~----~------------~-------~--~----~
> 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 
> athttp://groups.google.com/group/adwords-api?hl=en
> --~--~---------~--~----~------------~-------~--~----~
>
> "Legal Disclaimer: This electronic message and all contents contain 
> information from Cybage Software Private Limited which may be privileged, 
> confidential, or otherwise protected from disclosure. The information is 
> intended to be for the addressee(s) only. If you are not an addressee, any 
> disclosure, copy, distribution, or use of the contents of this message is 
> strictly prohibited. If you have received this electronic message in error 
> please notify the sender by reply e-mail to and destroy the original message 
> and all copies. Cybage has taken every reasonable precaution to minimize the 
> risk of malicious content in the mail, but is not liable for any damage you 
> may sustain as a result of any malicious content in this e-mail. You should 
> carry out your own malicious content checks before opening the e-mail or 
> attachment."www.cybage.com
>
>  Exception.txt
> 7KViewDownload
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to