AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

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

validation/missing_required for Shopping: Invalid or missing required attribute: size

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi, this is my first post here.

I'm getting an error when trying to save a product to Google Shopping.

 

I'm using Magento Shopping cart with API data feed. I haven't had any problems with other attributes but lately I've added some apparel items and Google requires the "size" attribute.  

 

Anyway, I added the size attribute but I keep getting this error:

 

Google_Service_Exception: Error calling POST https://www.googleapis.com/content/v2/105585544/products: (400) [size] validation/missing_required for Shopping: Invalid or missing required attribute: size

 

The way I have my product setup is one product with a drop down selector for the customer to select the size.

 

For the size attribute I have XS, S, M, L, XL, 2XL.

 

The price for all sizes is the same.

 

Is this the correct way the product needs setup?  How come I get this error?

 

Thank you very much.

1 Expert replyverified_user

validation/missing_required for Shopping: Invalid or missing required attribute: size

[ Edited ]
Top Contributor
# 2
Top Contributor

only in-stock physical inventory items may be submitted as shopping-ads.

the size attribute must contain only one, single, value; e.g.
2XL
the exact size of the one, single, physical item, being sold and submitted.

the corresponding availability value must be for that specific
variant item -- e.g. the physical item in that specific size, or

that specific size and color, if there are also color variants.

 

note that a proper item_group_id is also required, if more

than one variant from the group is wanted as a shopping-ad.

if individual, physical, inventory items are not being submitted properly,
the best likely course would be to contact whoever is currently maintaining
magento on the site -- or possibly also ask in the magento forums --

to avoid a more serious policy flag or suspension from the program.

see also

https://support.google.com/merchants/answer/6324507
https://community.magento.com/