17 messages in com.googlegroups.adwords-apiRe: Visual Studio 2005
FromSent OnAttachments
jose...@gmail.com07 Mar 2007 18:23 
Erik Bonder07 Mar 2007 23:38 
clafollett08 Mar 2007 06:29 
jose...@gmail.com08 Mar 2007 06:58 
clafollett08 Mar 2007 07:16 
CFJ08 Mar 2007 07:28 
fredIsDead08 Mar 2007 07:47 
fredIsDead08 Mar 2007 07:48 
clafollett08 Mar 2007 08:03 
jose...@gmail.com08 Mar 2007 11:24 
jose...@gmail.com08 Mar 2007 20:49 
clafollett09 Mar 2007 05:58 
jose...@gmail.com09 Mar 2007 06:32 
jose...@gmail.com09 Mar 2007 18:32 
jose...@gmail.com10 Mar 2007 09:48 
Rori Stumpf10 Mar 2007 17:43 
jose...@gmail.com10 Mar 2007 20:10 
Subject:Re: Visual Studio 2005
From:fredIsDead (addo@gmail.com)
Date:03/08/2007 07:47:13 AM
List:com.googlegroups.adwords-api

I second the approach of using the WSDL command to generate the code. It offers a lot more clarity in the process than letting VS hide everything. However, I built the xml parameters file so it's a little easier to keep track of and share with others what's going on.

To upgrade to a new version of the Google Adwords API:

.) Update the AdwordsWsdlParameters.xml file to point to the new WSDLs. .) Update the <out> parameter for the desired destination file name .) Verify the namespace setting. .) Open the Visual Studio Command prompt in the directory containing the parameters file. .) enter command wsdl /par:AdwordsWsdlParameters.xml .) The updated .cs file is generated and ready to use.

<wsdlParameters xmlns="http://microsoft.com/webReference/"> <nologo>true</nologo> <parsableerrors>true</parsableerrors> <sharetypes>true</sharetypes> <documents> <!-- all are listed. add/remove the ones you want <document>https://adwords.google.com/api/adwords/v7/ CampaignService?wsdl</document> <document>https://adwords.google.com/api/adwords/v7/AdGroupService? wsdl</document> <document>https://adwords.google.com/api/adwords/v7/ CriterionService?wsdl</document> <document>https://adwords.google.com/api/adwords/v7/ CreativeService?wsdl</document> <document>https://adwords.google.com/api/adwords/v7/AccountService? wsdl</document> <document>https://adwords.google.com/api/adwords/v7/ KeywordToolService?wsdl</document> <document>https://adwords.google.com/api/adwords/v7/ TrafficEstimatorService?wsdl</document> --> <document>https://adwords.google.com/api/adwords/v7/InfoService? wsdl</document> <document>https://adwords.google.com/api/adwords/v7/ReportService? wsdl</document> </documents> <namespace>AdwordsApi</namespace> <out>AdWordsApiV7.cs</out> <webReferenceOptions> <verbose>false</verbose> <codeGenerationOptions>properties newAsync</codeGenerationOptions> <style>client</style> </webReferenceOptions> </wsdlParameters>

This works well for any web service.

On Mar 8, 7:17 am, "clafollett" <c.@sendtec.com> wrote:

I guess I'm not going to be much help on your specific question since I used the .NET WSDL.exe utility to generate my GoogleWebService C# file and then edited the resulting file to suite my needs.

I can at least give you the command line text that I use to generate my file though. Please keep in mind, this calls build a C# file based on v7 of the API. Its easy enough to edit for pulling down the v8 references though. Also, that is ALL one command line call so there shouldn't be any line breaks.

"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\wsdl.exe" / l:cs /f /n:"Google.WebServices" /o:"C:\<alter_this_path_to_suite> \GoogleWebService.cs"
/sharetypeshttps://adwords.google.com/api/adwords/v7/CampaignService?wsdlhttps://adwords.google.com/api/adwords/v7/AdGroupService?wsdlhttps://adwords.google.com/api/adwords/v7/CriterionService?wsdlhttps://adwords.google.com/api/adwords/v7/CreativeService?wsdlhttps://adwords.google.com/api/adwords/v7/InfoService?wsdlhttps://adwords.google.com/api/adwords/v7/AccountService?wsdlhttps://adwords.google.com/api/adwords/v7/KeywordToolService?wsdlhttps://adwords.google.com/api/adwords/v7/TrafficEstimatorService?wsdlhttps://adwords.google.com/api/adwords/v7/ReportService?wsdl

On Mar 8, 9:58 am, "jose@gmail.com"<jose@gmail.com>
wrote:

Thanks for getting back to me.

I am trying to figure out where to download the Google API Libraries from. I went to the URL that Erik sent me to and went to the downloads section but found no downloads.