I'm building a Google Base module using the API to upload product information to Google Base. I have everything working except the product image upload, and I've tried everything I can think of to get the product images to work without any success. I'm using the Media Feed to post the image as a binary attachment since the Getting Started documentation states that attachments uploaded via the media feed are processed immediately. I'm posting the image to a media feed URL of http://www.google.com/base/feeds/items/6073073191255940943/media/, with the correct binary image data, content type and content length and a Slug header of "Baguette Diamond Wedding Band". The POST returns a status code of 201 and a Location header of http://www.google.com/base/feeds/items/6073073191255940943/media/hand5471422416233739796. Inside the body of the response is the content URL of http://base.googlehosted.com/base_media?q=hand5471422416233739796&size=6, and if I go directly to that URL in a browser I see the image just fine. So far everything appears to be working just great.
But if I look at the product listing in the active products in the Merchant Center dashboard, the images section has the Slug header, but a broken link for the image (http://lh4.ggpht.com/ BcskXQKbetjmRJNNynfmuMLyWj0X_zcRJJlEjbjAP6- qpwxGcoh5yyx2fQhgp8gp1jIWbY0B34zbTqmWRq3wngAq1n6bMw), which returns a 404 error if I go directly to it. And if I find the product in Google Shopping (the first result in http://www.google.com/products?q=Baguette+Diamond+Wedding+Band&hl=en&lnk=pruser&price1=910&price2=910), there is also a broken image link displayed there as well. If I retrieve the item feed, I see a "countHint" value of zero. If I retrieve the media feed itself, I see a search Results count of zero. So from all appearances there are no images in the media feed associated with the item. So why does everything appear to post just fine but nothing actually shows up except for the Slug header value? The Getting Started guide implies that the image upload through the media feed takes place immediately, but is there a separate process that copies the images from base.googlehosted.com to lh4.ggpht.com at a later date? And if so, how long does that process take? Randall Severy Inroads, LLC -- 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.
