
Originally Posted by
nicksab
I am getting errors while running Google Schema validator.
"The property googleProductCategory is not recognized by the schema (e.g. schema.org) for an object of type Product.)"
Product Category is defined in the jsscript.
How can this be fixed please?
thank you
PS: open the issue in github too as i wasn't sure how to get support for this.
No fix is required. googleProductCategory which Google wants is not part of schema... that's all =)
https://support.google.com/merchants.../6324436?hl=en
Code:
When to use
Optional Optional for each product
Google will only accept a product category override in the following cases:
1. Calculation of US taxes. For products sold in the US, you can override Google’s automatic categorization to ensure that the correct US tax rate is applied to your product.
2. Enforcement of category-specific attribute requirements. Some product categories (such as Apparel & Accessories, Mobile Phones, or Software) impose additional required fields. If Google incorrectly assigns your product to one of these categories, use this attribute to override the categorization and remove the category-specific requirements.
3. Targeting of Google Ads campaigns. If you’ve defined any of your ad campaigns based upon Google’s product categories, you can use this attribute to reassign products within your campaign structure.
4. Alcohol. Alcoholic beverages must be correctly categorized. If the category of your product is incorrectly assigned, you can use the Google product category [google_product_category] attribute to override it and ensure that your product remains compliant. Learn more about our Alcoholic beverages policy.
Bookmarks