Hi,
I just managed to upload the products to froogle by adding the product
type and an ID...
entry.GBaseAttributes.ItemType = "Product";  wont work with products
so dnt put the "s"...
to add the ID see above...
However, the items does get uploaded to froogle but it only says
published and searchable
but cant find it when searching for the item
So it isnt fixed... as you cant search for the items

On Mar 29, 11:17 pm, Alex <[email protected]> wrote:
> Hi,
>
> How did you solve this problem?
>
> I have quite the same error but using the code suggestion from 
> Google:http://code.google.com/intl/de/apis/base/docs/2.0/developers_guide_do...
>
> Always got the 400 error. Can you please give me a hint how you have
> solved your problem? Perhaps it has the same reason as mine.
> Thanks!
> Alex
>
> On 25 Mrz., 23:11, Support <[email protected]> wrote:
>
>
>
> > Hi,
> > Just wanted to tell you lot that I have now resloved the issue
>
> > On Mar 25, 8:39 pm, Support <[email protected]> wrote:
>
> > > Hi,
> > > I have checked froogle requirements but still get a400error wht cud
> > > have gone wrong?
>
> > > GBaseService service = new GBaseService("Biz", "googlekey");
> > >             service.setUserCredentials("username", "password");
> > >             GBaseEntry entry = new GBaseEntry();
> > >             GBaseQuery query = new GBaseQuery("http://www.google.com/
> > > base/feeds/items/");
> > >             GBaseFeed feed = service.Query(query);
> > >             AtomLink lnk = new AtomLink();
> > >             AtomFeed batchFeed = new AtomFeed(feed);
> > >             entry = new GBaseEntry();
> > >             entry.BatchData = new GDataBatchEntryData();
> > >             entry.BatchData.Id = "01flx";
> > >             entry.Title.Text = "Patio set";
> > >             entry.Content.Content = "The Veracruz Oval Table and
> > > accompanying Patio chairs are cast from aluminum, welded and
> > > constructed with longevity in mind. During the finishing process, each
> > > piece is sanded, brushed, and painted by hand.";
> > >            entry.GBaseAttributes.Quantity = 90;
> > >            entry.GBaseAttributes.Price = new FloatUnit((float)25.00,
> > > "GBP");
> > >             //entry.GBaseAttributes.ItemType = "Products";
> > >             lnk = new AtomLink();
> > >             lnk.HRef = new AtomUri("http://www.example.com/asp/sp.asp?
> > > cat=12&id=1030");
> > >             lnk.Rel = "alternate";
> > >             lnk.Dirty = false;
> > >             //lnk.Type = "text/html";
> > >             entry.Links.Add(lnk);
> > >             lnk = null;
> > >             Uri posturi = new Uri("http://www.google.com/base/feeds/
> > > items/");
> > >             entry.BatchData.Type = GDataBatchOperationType.insert;
> > >             batchFeed.Entries.Add(entry);
> > >             AtomFeed returnFeed = service.Batch(batchFeed, new Uri
> > > (batchFeed.Batch));
> > >             //Uri posturi = new Uri("http://www.google.com/base/feeds/
> > > items/");
> > >             //GBaseEntry myEntry = service.Insert(posturi, entry);
> > >             //GBaseEntry myEntry = service.Insert
> > > (GBaseUriFactory.Default.ItemsFeedUri, entry);
> > >             //Response.Write(service.Batch(batchFeed, new Uri
> > > (batchFeed.Batch)));
> > >             int i;
> > >             i = 0;
> > >             for (i = 0; i < returnFeed.Entries.Count; i++)
> > >             {
> > >                 Response.Write("hhhh" + returnFeed.Entries
> > > [i].BatchData.Status.Code);
> > >                 if (returnFeed.Entries[i].BatchData.Status.Code > 300)
> > >                 {
> > >                     Response.Write("Not inserted now!!!");
> > >                 }
> > >             }
> > >         }- Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to