I am having the same problem and the suggestion about item_type does
not seem to be working. He're a snippet of my code.
string developerKey = "<key was here>";
string websiteName = "WheelsAndCaps.com";
//Create the objec to GBaseService which take two
parameters the website name and devolper key
GBaseService service = new
Google.GData.GoogleBase.GBaseService(websiteName, developerKey);
service.setUserCredentials("<email was here>", "<password
was here>");
//now create the object of GbaseEntry to which we can add
the details of the Product
GBaseEntry entry = new GBaseEntry();
entry.GBaseAttributes.ItemType = "Products";
entry.GBaseAttributes.AddTextAttribute("id",
"123456jdjdhda");
entry.Title.Text = "My House";
//entry.Content.Content = "The best house of the area.";
//entry.GBaseAttributes.AddUrlAttribute("link", "http://
www.mywebsite.com/123456jdjdhda");
entry.Links.Add(new AtomLink("http://www.mywebsite.com/
123456jdjdhda"));
entry.GBaseAttributes.AddTextAttribute("condition",
"new");
entry.GBaseAttributes.AddTextAttribute("description",
"This is a description asdf a");
entry.GBaseAttributes.AddNumberAttribute("price",
25.00f);
GBaseEntry myEntry = service.Insert
(GBaseUriFactory.Default.ItemsFeedUri, entry);
MessageBox.Show("Example entry inserted");
Unfortunately even though I think I've set the item_type correctly the
entry still appears in google base instead of the merchant center ...
Any suggestions would be appreciated ..
Thank you!
Filip
--
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.