Hi Sergey,

As described in the Getting Started
documentation<http://code.google.com/apis/base/starting-out.html#using_gids>,
your g:id has to be unique. Read
the second paragraph in order to better understand what happens when you
insert an
item with an already existent id. In your case, the GB item was overwriting
the US item.
If you think the documentation is not clear enough, let me know, and we'll
try to make it
better, so that everyone will benefit from it.

In your case, adding US or GB, depending on the targeting country, is the
right approach.

Thanks for reporting this issue to us.

Alex

On Mon, Mar 2, 2009 at 9:26 PM, Sergey <[email protected]> wrote:

>
> Hi Alex,
>
> I just found one thing that might be a bug in your code.
> We post our items to both US and GB versions of Google Base.
> We keep track of two different Uri's for each item, but for us it is
> the same item and it has one SKU (id for Google Base).
> With every update we post US Uri update and then GB Uri update.
> It seems to me that once we pass an update for GB version, US version
> gets deleted.
> I changed the code to add "US-" and "GB-" to the beginning of each id
> and now I see both versions (US and GB).
>
> Was it a requirement to have unique id across all Google Base versions
> (you already have Uri, which is unique) or it just a bug in your
> system?
>
> Thanks!
> - Show quoted text -
>
> --Sergey
> >
>


-- 
Alex Dovlecel, Google Switzerland GmbH
Company Identifikationsnummer: CH-020.4.028.116-1

--~--~---------~--~----~------------~-------~--~----~
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