yes i only get a 400 error message... One question if the items are submitted by Product instead of Products with a s does it matter like would it still show in google search? coz i only get the 400 error when I put the item type as products but if i chnage it to product then everyfin is fine and it says published and searchable.... But I cant actually see the product when I search for it
On 29 Mar, 01:36, Tom Wilson <[email protected]> wrote: > Do you get any error messages ? From running the code and also in > yourGoogle Base dashboard. > > 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 Mar 28, 2:37 pm, Support <[email protected]> wrote: > > > > > Can anyone please tell me that why doesnt my item get uploaded if the > > item type is Products??? > > The code is below... > > > entry = new GBaseEntry(); > > entry.BatchData = new GDataBatchEntryData(); > > entry.Authors.Add(author); > > > numb = numb + 1; > > entry.BatchData.Id = numb.ToString(); > > entry.Language = "en"; > > entry.Title.Text = total.GetString(1); > > > entry.Content.Content = total.GetString(5); > > entry.GBaseAttributes.ItemType = "Products"; > > entry.GBaseAttributes.AddTextAttribute > > ("Product Type", "Products"); > > > entry.GBaseAttributes.AddTextAttribute("target > > country", "GB"); > > entry.GBaseAttributes.Price = new FloatUnit > > (Convert.ToSingle(total.GetValue(4)), "GBP"); > > > entry.GBaseAttributes.PriceUnits = "item"; > > > entry.GBaseAttributes.Quantity = 100; > > entry.GBaseAttributes.AddTextAttribute > > ("Condition", "New"); > > entry.GBaseAttributes.AddTextAttribute > > ("Brand", total.GetString(2)); > > > lnk = new AtomLink(); > > lnk.HRef = new AtomUri("http://mysite.com"); > > lnk.Rel = "alternate"; > > lnk.Dirty = false; > > lnk.Type = "text/html"; > > entry.Links.Add(lnk); > > lnk = null; > > > entry.BatchData.Type = > > GDataBatchOperationType.insert; > > > batchFeed.Entries.Add(entry); > > AtomFeed returnFeed = service.Batch(batchFeed, new Uri > > (batchFeed.Batch)); > > > Is anyfin wrong with this code..... > > > On Mar 28, 1:38 pm, Support <[email protected]> wrote: > > > > Hi, > > > When I change the item type to Products instead of Electronics the > > > item wouldnt upload ... > > > I need to upload the items by products and not electronics but they > > > just wont uplaod and tht is why i cannot see it in froogle... > > > Please answer my question tht why doesnt the items get uploaded by > > > itemtype of Products > > > > On Mar 27, 6:52 pm, Support <[email protected]> wrote: > > > > > Hi, > > > > In google base my items are marked as published and searchable but it > > > > doesnt appear when I search for them... > > > > The item type is Electronics.... > > > > > Wht is wrong?- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
