Product item location attribute

13 views
Skip to first unread message

Matthias Zirnstein

unread,
Apr 21, 2011, 8:37:36 PM4/21/11
to Google Content API for Shopping
hello,

is it possible to provide a location for an item?
i tried to create an item with this xml

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns:sc="http://schemas.google.com/structuredcontent/2009"
xmlns:scp="http://schemas.google.com/structuredcontent/2009/products"
xmlns="http://www.w3.org/2005/Atom">
<title type="text">Dell Blue Laptop 360</title>
<content type="text">Ex ducimus quibusdam minus sit assumenda. Quae
dolor provident est nisi voluptatibus sint eveniet. Est natus dolores
beatae quia.</content>
<location>938 Howe Street, Vancouver, Canada</location>
<sc:id type="text">1</sc:id>
<scp:condition type="text">new</scp:condition>
<scp:price type="text" unit="CAD">41.7</scp:price>
<sc:content_language>en</sc:content_language>
<sc:target_country>CA</sc:target_country>
<scp:availability>in stock</scp:availability>
</entry>

the result is

<?xml version="1.0"?>
<entry xmlns:scp="http://schemas.google.com/structuredcontent/2009/
products" xmlns:app="http://www.w3.org/2007/app" xmlns:sc="http://
schemas.google.com/structuredcontent/2009" xmlns="http://www.w3.org/
2005/Atom">
<id>http://content.googleapis.com/content/account/<ACCOUNT_ID>/item/
products/8951093445943183052</id>
<published>2011-04-22T00:20:01.000Z</published>
<updated>2011-04-22T00:20:01.669Z</updated>
<app:edited>2011-04-22T00:20:01.669Z</app:edited>
<app:control>
<sc:required_destination dest="ProductSearch"/>
<sc:status dest="ShoppingApi" status="review"/>
<sc:status dest="ProductSearch" status="review"/>
<sc:status dest="RichSnippets" status="enlisted"/>
<sc:status dest="AffiliateNetwork" status="enlisted"/>
<sc:status dest="ProductAds" status="enlisted"/>
</app:control>
<title>Dell Blue Laptop 360</title>
<content>Ex ducimus quibusdam minus sit assumenda. Quae dolor
provident est nisi voluptatibus sint eveniet. Est natus dolores beatae
quia.</content>
<link href="https://content.googleapis.com/content/v1/<ACCOUNT_ID>/
items/products/schema/online:en:CA:1" rel="self" type="application/atom
+xml"/>
<link href="https://content.googleapis.com/content/v1/<ACCOUNT_ID>/
items/products/schema/online:en:CA:1" rel="edit" type="application/atom
+xml"/>
<sc:adult>false</sc:adult>
<sc:content_language>en</sc:content_language>
<sc:expiration_date>2011-05-21T17:20:01.000-07:00</
sc:expiration_date>
<sc:id>1</sc:id>
<sc:target_country>CA</sc:target_country>
<scp:availability>in stock</scp:availability>
<scp:price unit="CAD">41.700000762939453125</scp:price>
<scp:condition>new</scp:condition>
</entry>

is also tried out the xml tags
sc:location and scp:location but with the same result

if its possible to provide a location is it also possible to provide
multiple locations for a product?

cheers,
matthias

Celebird

unread,
Apr 22, 2011, 12:06:13 AM4/22/11
to Google Content API for Shopping
location is not a valid products attribute.

the content-api-for-shopping must follow
the same similar rules, policies, and attribute
requirements as any google-products item.

details should be here --
http://www.google.com/support/merchants/bin/answer.py?answer=171375

also, CAD is currently not a supported currency --
and CA is currently not a supported target-country.
also, the content and title language must
match the target-country's content_language --
as does the website's link landing-pages.

Matthias Zirnstein

unread,
Apr 25, 2011, 1:25:24 PM4/25/11
to Google Content API for Shopping
whats your future plan to support location based products?

apropos: are the namespaces sc and scp still supported after the 1.
june?

Matthias Zirnstein

unread,
Apr 25, 2011, 4:17:53 PM4/25/11
to Google Content API for Shopping
im asking because we've got products of a merchant with more than one
location.
as i can see, the products location is currently based on the address
saved in the account settings. is that correct?
if yes, the only way for multiple location per merchant, is to create
a new account for each merchants location
and upload all the products.
is it possible to solve it a way nicer?

Celebird

unread,
Apr 25, 2011, 11:11:16 PM4/25/11
to Google Content API for Shopping
google-product-search is based on target-country --
http://www.google.com/support/merchants/bin/answer.py?answer=160157

there are rather separate services associated
with google-product-search -- called google
nearby-stores and google local-shopping;
these are tied to google-places and physical
store-location inventory.

but these have rather strict rules and policies
in addition to google-product-search rules --
http://www.google.com/support/merchants/bin/topic.py?topic=30065

however, none of these features seem to be
available with respect to canada at this time.
Reply all
Reply to author
Forward
0 new messages