AdWords
3.4K members online now
3.4K members online now
For questions related to Google Shopping and Merchant Center. Learn to optimize your Shopping ads
Guide Me
star_border
Reply

How to get unique ID for product variants?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi everyone! It's my first time to create a data feed and I have a problem with the product variants. We are selling clothing and shoes and I know colors and sizes are required. My problem is the data feed that we got doesn't have unique ID for each product variant. How do you get unique ID product variants? Can you make your own ID?

 

Some of the products we have used the MPN as the ID, while some products (from another brand), don't have MPN or doesn't use the MPN as the ID. 

 

Please help. Thank you.

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Hanna
September 2015

Re: How to get unique ID for product variants?

[ Edited ]
Top Contributor
# 2
Top Contributor

 

id and item_group_id attributes are assigned by merchants;

so, almost any value you wish is allowed to be submitted.

 

id must simply be unique per item and can never change once assigned;

item_group_id must simply be identical for all items in a variant group.

 

mpn, brand, gtin (global-trade-data) are assigned by

brand-manufacturers -- not merchants --  so, must be

submitted exactly as defined by the manufacturer.


global-trade-data -- especially gtin -- is typically stamped

directly on the product at the factory by the manufacturer.

http://www.gs1.org/barcodes/technical/bar_code_types

 

what's required by google depends on the type of item.

 

apparel (clothing) requires only a valid brand --

mpn and gtin may be left entirely blank (empty).

 

apparel (shoes) requires a valid brand and only

one other global-trade-data value (mpn, gtin).

 

if valid, required, data exits and has been assigned

by a brand-manufacturer to the exact item (variant)

being sold, then valid data must be submitted --

otherwise, the item cannot be submitted (at all).

 

if a valid global-trade-data value does not exist then,

simply leave that specific value entirely blank (empty).

 

if (all) valid and required, global-trade-data does not exist for

the type of item (variant) being sold, then simply submit the

identifier_exists attribute with a value of FALSE for that item --

and do not submit any other global-trade-data for that item.

 

google does not require all variants to be submitted --

however, if a variant is submitted then the item must

be currently in stock and submitted per variant rules

and global-trade-data polices for the type of item.

 

if the brand-manufacturer has assigned identical mpn

for all variants in a variant group, then simply submit

the same mpn for all variants in the variant group --

just as the manufacturer has assigned.

 

id must be unique per item and most any value you wish;

item_group_id must be identical for all items in a variant

group and otherwise, almost any value may be submitted.

 

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Hanna
September 2015

Re: How to get unique ID for product variants?

[ Edited ]
Top Contributor
# 2
Top Contributor

 

id and item_group_id attributes are assigned by merchants;

so, almost any value you wish is allowed to be submitted.

 

id must simply be unique per item and can never change once assigned;

item_group_id must simply be identical for all items in a variant group.

 

mpn, brand, gtin (global-trade-data) are assigned by

brand-manufacturers -- not merchants --  so, must be

submitted exactly as defined by the manufacturer.


global-trade-data -- especially gtin -- is typically stamped

directly on the product at the factory by the manufacturer.

http://www.gs1.org/barcodes/technical/bar_code_types

 

what's required by google depends on the type of item.

 

apparel (clothing) requires only a valid brand --

mpn and gtin may be left entirely blank (empty).

 

apparel (shoes) requires a valid brand and only

one other global-trade-data value (mpn, gtin).

 

if valid, required, data exits and has been assigned

by a brand-manufacturer to the exact item (variant)

being sold, then valid data must be submitted --

otherwise, the item cannot be submitted (at all).

 

if a valid global-trade-data value does not exist then,

simply leave that specific value entirely blank (empty).

 

if (all) valid and required, global-trade-data does not exist for

the type of item (variant) being sold, then simply submit the

identifier_exists attribute with a value of FALSE for that item --

and do not submit any other global-trade-data for that item.

 

google does not require all variants to be submitted --

however, if a variant is submitted then the item must

be currently in stock and submitted per variant rules

and global-trade-data polices for the type of item.

 

if the brand-manufacturer has assigned identical mpn

for all variants in a variant group, then simply submit

the same mpn for all variants in the variant group --

just as the manufacturer has assigned.

 

id must be unique per item and most any value you wish;

item_group_id must be identical for all items in a variant

group and otherwise, almost any value may be submitted.

 

Re: How to get unique ID for product variants?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Celebird. Thanks for the wonderful response. You said Google doesn't require all variants to be submitted, will this affect the conversion? Because I'm thinking it will, since people will only see 1 color or size variant.

Re: How to get unique ID for product variants?

[ Edited ]
Top Contributor
# 4
Top Contributor

first, you're welcome.

likely yes -- generally, if the variant item is currently in stock then
submitting the variant is usually best; but the choice is rather up

to you and the data must be submitted per the variant polices.

Re: How to get unique ID for product variants?

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Ok, got it now Celebird. Thanks again!