Ok, I'm going to try doing it daily and taking the difference. My question now is what do I use as a query to return all my products? I'm using VB.NET. Thanks, Gunner
On Jul 16, 10:20 am, gwgeller <[email protected]> wrote: > Tom, thanks for the reply. I was afraid it wasn't possible. However > the performance tab does display the clicks per day on the graph. I > know that doesn't necessarily mean it is available to the API, but > maybe there is a way. > > On Jul 16, 7:35 am, Tom Wilson <[email protected]> wrote: > > > The API doesn't support date ranging for stats data the total isall > > you can get. > > > You'd have to poll it daily and get the differences between the dates > > polled. > > > Tom Wilson > > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com > > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > > Featured Project > > :http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > > On Jul 15, 10:17 pm, gwgeller <[email protected]> wrote: > > > > Hello, > > > I am using VB.net to access the API. My goal is to get the clicks > > > per day foralltheproductsin our feed. So far I have been able to > > > retrieve the total clicks for each product. When I try to add a date > > > range to thequeryobject I get an exception. Here is my code: > > > > DimqueryAs New GBaseQuery(GBaseUriFactory.Default.ItemsFeedUri) > > > Dim feed As GBaseFeed > > > >query.Content = "attributes,stats" > > > > GBaseUriFactory.Default.AttributesFeedUri.ToString() > > > > service.setUserCredentials("un", "pw") > > > >query.GoogleBaseQuery = "golf" > > > >query.StartDate = CDate("7/1/2009") > > >query.EndDate = CDate("7/10/2009") > > > > feed = service.Query(query) > > > > The execption is "A first chance exception of type > > > 'Google.GData.Client.GDataRequestException' occurred in > > > Google.GData.Client.dll" > > > > First, I guess, am I doing something wrong with the date range? > > > Second, if I get the date range to work is it going to get me the > > > clicks for that date range or overall? > > > > Thanks, > > > Gunner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" 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/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
