Hi Paul,
I wouldn't recommend hand-picking classes from the library itself,
that is simply too much work and waste of effort in my opinion.
The .NET library has a binary distribution which you can use. You can
take the compiled assembly, add a reference to it in your vb.net
project and start coding.
You could start by downloading the latest binary distribution of the
library from
http://code.google.com/p/google-api-adwords-dotnet/downloads/detail?name=awapi_dotnet_lib_11.3.0.zip.
Once you download it, open the appropriate sln in Visual Studio. There
are two Example projects in the sln, one for C# and one for VB.NET.
Pick the one of your choice, and open its App.config. Edit the various
fields of the form INSERT_XXX_ in the App.config. Now open the project
properties of the Examples project and set its command line. You can
provide an example name as command line option. (e.g. setting
v201008.AddCampaign as commandline option runs v201008\AddCampaign.cs
or v201008\AddCampaign.vb depending on the project). Now compile and
run the examples project.
To make your own project, create a Visual Studio project (e.g. Console
project). Copy the example of your choice, SampleBase.cs (or
SampleBase.vb) and App.config over to your project. Add a reference to
lib\Google.AdWords.dll. Compile and run your example project.
To run v201008 reports, you need to look at
http://code.google.com/p/google-api-adwords-dotnet/source/browse/branches/v11.3/examples/vb/v201008/AddKeywordsPerformanceReportDefinition.vb,
http://code.google.com/p/google-api-adwords-dotnet/source/browse/branches/v11.3/examples/vb/v201008/DownloadReport.vb
and
http://code.google.com/p/google-api-adwords-dotnet/source/browse/branches/v11.3/examples/vb/v201008/GetReportFields.vb.
You can learn more about the v201008 reportservice from the following
links:
http://adwordsapi.blogspot.com/2010/07/introduction-to-reportdefinitionservice.html
http://code.google.com/apis/adwords/docs/reference/latest/ReportDefinitionService.html
http://code.google.com/apis/adwords/docs/appendix/reports.html
In case you have more questions, feel free to ask on this thread, and
I'll answer them for you.
Cheers,
Anash P. Oommen,
AdWords API Advisor.
On Dec 6, 9:10 pm, Paul Poulton wrote:
> I am a Data Warehouse developer, who has been given the opportunity to
> support the google API which is an import source of data for our DW.
> Currently we have a VB Solution built for V13 using the ReportService
> WSDL it simply gets the required fields from the Keyword Report and
> loads to the database. All Good.
>
> From various background reading I understand that V13 will be sunset
> so my first task is to Migrate to the latest version V201008. The
> recommended method is to use Client Libraries which I have downloaded
> the .Net version of.
> Great its in C# not VB (ill live with that). There is alot of stuff I
> have no need off, I think all I want is the ReportDefinitionService.
> Do I take the bits I want over to my own project ? What other
> references/classes/objects/etc do I require ? Is there a Adwords API
> for dummies, there is enough information to let me think I might be
> able to do this, but a lack of method. Kind like; to make a cake you
> need floor, eggs, butter, milk. Cook It and Enjoy. And over here are
> some Marble Cakes, Upside Cakes and a Jam Rolly Polly. What I would
> like is the Recipe.
>
> Once I have a working Keyword Report, then I need to fetch it for the
> Google Mobile client account which was added recently and they
> expected to magically arrive in the database.
> And then I have do something about splitting impressions by Google
> Seach and Search Partners.
>
> Should I just give up find a Application developer and go back to my
> data cave.
>
> Kind Regards
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en