Hi All.

For the last few months I have been successfully uploading our
products to Google Base via the Java batch-mode API, and this has been
working really well.

I would now like to move to using a Multi-Client Account (we host
multiple shops on our site).

I have contacted Google and they have converted my account into a MCA,
with our old account becoming a sub-account.

I now need to modify my Java program to direct products to the right
sub-account.  Has anyone got examples on how to do this or can point
me to some documentation with examples.

This is an extract of my current code:

GoogleBaseService service =
        new GoogleBaseService(googleFeedApplicationName,
googleFeedDeveloperKey);

service.setUserCredentials(googleFeedEmail, googleFeedPassword);

URL url = new URL("http://www.google.com/base/feeds/items";);
GoogleBaseFeed feed = service.getFeed(url);

Link batchLink = feed.getLink(Link.Rel.FEED_BATCH, Link.Type.ATOM);
URL batchUrl = new URL(batchLink.getHref());

/* Create entry in batch ready to be sent. */
/* This is the batch structure we will populate. */
GoogleBaseEntry entry = new GoogleBaseEntry();
etc.

Thank-you,
john

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