Hello,
     I am using VB.net to access the API. My goal is to get the clicks
per day for all the products in 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 the query object I get an exception. Here is my code:

Dim query As 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to