How to fix "[id] validation/missing_required: Invalid or missing required attribute: id:” Error?

Every product submitted to Google Shopping needs to have its own unique ID in order to pass Google’s verification and be served among the Shopping ads results.

At every stage of advertisement, analysis, correction, and optimization, everything is shown with the reference to the ID of the product.

In order to resolve this error, you will need to assign the required attribute: id as per the product ID format you have selected.

Let’s understand this with an example:

Here the selected ID format is SKU as Product ID for the products in our plugin.

image

However, some of the products are missing the SKU value. Those products can be filtered out using the filter option from our plugin. 
 
Filter the products with the option “Error From Merchant Center” and select the error “[id] validation/missing_required: Invalid or missing required attribute: id:”  and you will be able to see the list of products that are missing the SKU values.

image

image

We suggest you assign the SKU values to those products on your WooCommerce store.

image

Assign the SKU with a minimum of 4 alphanumeric characters in your WooCommerce store for the affected product to fix the error.

image

This error will also appear if some variations of the products have the SKUs and some variations are missing the SKUs.

image

For the variable products, you will have to assign unique SKUs for each variation. See the image below to navigate through your WooCommerce store to assign the SKUs.

image

image

Note: Don't assign a single character value or 10,100,1000 as SKU because Google doesn't accept this kind of value.

As soon as you assign the SKU values to the product, they will be fetched by our plugin and submitted to the Google Merchant Center within 30 minutes and the error will be removed.

image

Further, if you do not wish to assign SKUs to your products then we strongly recommend to change the product id format for your products with the help of our team.

We hope this will be helpful. If you have any questions or concerns, please write to us at support@simprosys.com and we’d be happy to assist you.