Is there nobody to help me...
Its really frustating that nobody is lloking into my quries.




On Apr 16, 12:30 pm, Sumit123456 <[email protected]> wrote:
> I have developed a simple product uploader to google base, which seems
> to work fine for UK and US.
> But when i starts working for target country as germany then i see my
> products in google base but did not find my product on google product
> search for germany.
> I have few quries which are as follows....
> [1] I want to show same product on UK / US / GB, so my question is
> this that how google will recoginised my same product for three
> different country, i can set base uri as com / co.uk / .de with
> respective target country and currency.
> [2] My main problem is this that when i upload my product for germany
> then my products are seen in google base with Expries column as "Item
> does not expire", i feel this is the only reason by which my products
> are not serachable on google products for germany.
>
> [3] How can i find that my current product is exists in UK / US / DE
> google base, means which filed or attribute of feed entry show me that
> current product is belong to UK / US / DE google base
>
> Please suggest me what to check, i application is in vb.net
>
> Sample code is as follows
>
> Dim Desc As String = Translator.Translate(row("Description"),
> Google.API.Language.English, Google.API.Language.German)
>  Dim entry As GBaseEntry = New GBaseEntry()
> Dim author As AtomPerson = New AtomPerson()
> entry.Authors.Add(author)
> author.Name = PosterName
> author.Uri = New AtomUri(site)
> entry.Id.Uri = New AtomUri(site)
> entry.Title.Text = Desc
> entry.Base = GoogleBaseUri
> entry.Content.Base = GoogleBaseUri
> entry.Content.Content = Desc
> entry.GBaseAttributes.AddTextAttribute("Product name", Desc)
> entry.GBaseAttributes.AddTextAttribute("Product_type", "Products")
> entry.GBaseAttributes.AddTextAttribute("item_type", "Products")
> entry.GBaseAttributes.AddTextAttribute("target_country", "DE")
> Dim price As Double = Math.Round(Double.Parse(row
> ("RetailPrice").ToString()) * Double.Parse(EURO), 2)
> Dim fGoogleFloatUnit As Google.GData.GoogleBase.FloatUnit = New
> FloatUnit(price, Currency)
> entry.GBaseAttributes.AddTextAttribute("Currency", Currency)
> entry.GBaseAttributes.Price = fGoogleFloatUnit
> entry.GBaseAttributes.Quantity = row("quantity")
> entry.GBaseAttributes.ItemType = "Products"
> entry.GBaseAttributes.AddTextAttribute("Id", "DE_" & row
> ("MasterItemNumber"))
> Try
> entry.GBaseAttributes.AddTextAttribute("Measurements", row
> ("Measurements"))
> Catch ex As Exception
> End Try
> entry.GBaseAttributes.Location = "DE"
> entry.GBaseAttributes.PriceUnits = "item"
> entry.GBaseAttributes.AddTextAttribute("Condition", "Antiques")
> Dim link As AtomLink = New AtomLink(AtomLink.HTML_TYPE,
> BaseNameTable.ServiceAlternate)
> Dim altUri As String = row("ItemDetail")
> link.HRef = New AtomUri(altUri)
> entry.Links.Add(link)
> entry.AlternateUri = New AtomUri(altUri)
> Dim imgLinks() As String = {row("filename").ToString()}
> entry.GBaseAttributes.ImageLinks = imgLinks
> status = isExits(Desc)
> Try
> If status.Trim.Length <> 0 Then
> Update existing product on google base
> entry.Id = New AtomId(status)
> entry.EditUri = New AtomUri(GoogleBaseUri)
> Dim myEntry As GBaseEntry = service.Update(entry)
> Console.Write("Updating " & i & " records" & vbCrLf)
> Else
> Inert new products to google base.
> Dim tt As Uri = New Uri(GoogleBaseUri)
> Dim myEntry As GBaseEntry = service.Insert(tt, entry)
> Console.Write("Inserting " & i & " records" & vbCrLf)
> End If
> Catch ex As GDataRequestException
> Console.Write("Updating " & i & " records" & vbCrLf)
> LogToFile(i & ") Entry for itemid " & row("itemid") & " fails due to :
> " & ex.ToString & vbCrLf & "Entry Content : " & entry.Content.Content
> & vbCrLf & "Title : " & entry.Title.Text & vbCrLf & " /master item
> number : " & row("Masteritemnumber"))
> End Try
--~--~---------~--~----~------------~-------~--~----~
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