3 messages in com.googlegroups.adwords-apiDuplicate object names when generatin...
FromSent OnAttachments
findchris26 Feb 2008 10:23 
Ed M.26 Feb 2008 14:57 
findchris26 Feb 2008 18:30 
Subject:Duplicate object names when generating v11 .NET classes using rake - HELP? (C# API)
From:findchris (find@gmail.com)
Date:02/26/2008 10:23:01 AM
List:com.googlegroups.adwords-api

Hi there.

I am just starting to experiment with the .NET (C#) API for AdWords.

I downloaded the google-api-adwords-dotnet project, compiled, and eventually got some of the demos to work.

However, I tried to upgrade (per the README instructions) everything to v11, including running 'rake' from the project root directory. First of all, the generated files (by wsdl.exe) end up in the root directory of the application, whereas it seems like they should be under "\src\v11" (the instructions don't mention anything) and so I move the generated files there (is that correct?).

After moving the generated classes to "\src\v11", I try to compile, and I get 7 errors, such as this: * Error 25 The namespace 'com.google.api.adwords.v11' already contains a definition for 'KeywordType' * Error 29 The namespace 'com.google.api.adwords.v11' already contains a definition for 'NetworkType' * Error 30 The namespace 'com.google.api.adwords.v11' already contains a definition for 'CampaignStatus'

Even if I manually fix these errors, I then get similar errors (314, to be exact) such as this: * Error 25 The type 'com.google.api.adwords.v11.requestId' already contains a definition for 'textField'

Could someone shed some light on this please? Thanks,