{"section":"tutorials","requestedLocale":"en","requestedSlug":"product-specifications-attribute-googleshopping-xml","locale":"en","slug":"product-specifications-attribute-googleshopping-xml","path":"docs/en/tutorials/catalog/xml-integration/product-specifications-attribute-googleshopping-xml.md","branch":"main","content":"Following the [update released by Google](/en/docs/tutorials/understanding-the-updating-of-the-xml)  in September 2015, several attribute tags used in the product feed now have pre-defined values that are required in the English language and all of them **in upper case.**\n\nThis is to make it possible to integrate the products on Google Shopping and to improve the level of categorization.\n\nAs the VTEX platform allows each customer to structure and formulate this product range as they see fit, it is impossible to map them all and converge them into just a variation of two or three values.\n\nThat is, take the tag for the attribute **gênero** (for Google: **gender**), where we can have a variation ranging from “Male”/ “Female” to “Boys”/ “Girls”, “Little Boys”/ “Little Girls”, among others.\n\nIn the case of feeds with products in the **Clothing and accessories** category, it will be mandatory to insert the attributes:\n\n- `'gênero'[g:gender]`\n- `'idade'[g:age_group]`\n- `'disponibilidade'[g:availability]`\n- `'condição'[g:condition]`\n\nAttributes like `tamanho'[g:size]` and `'cor' [g:color]` should be filled out with the value of the specification created.\n\nThis demand should be dealt with using product specifications.\n\nCreating a Group that includes the attributes described above so as to comply with the default value required for the XML of Google Shopping.\n\n## How to do it\n\n### Group\n\nWe will create a group with the name **Atributos Google** in the root category of the store:\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Click on __Categories__.\n3. Click on the root category.\n   After doing so, the selected category will also appear on the right portion of the screen. It will have an `Actions` button on its side.\n4. Click on the `Actions` button and then on __Group__.\n5. Click on the `New Group` button to add a new group.\n6. You will be redirected to a new screen, where you should fill the name and confirm the category of the new group.\n7. Click on the `Save` button.\n\n### Product field\n\nHere you will have to create four fields for each attribute discussed above: **gender**, **age\\_group**, **availability** and **condition**.\n\n#### How to create a product field\n\n1. In the VTEX Admin, go to __Catalog__, or type __Catalog__ in the search bar at the top of the page.\n2. Click on __Categories__.\n3. Click on the root category.\n   After doing so, the selected category will also appear on the right portion of the screen. It will have an `Actions` button on its side.\n4. Click on the `Actions` button and then on __Field (Product)__.\n5. Click on the `New Field` button to add a new product field.\n\nThe following options show up:\n\n- __Name:__ Gender/age\\_group/availability/condition.\n- __Text:__ Description of the field.\n- __Type:__ Radio.\n- __Group:__ Select the group previously created “Atributos Google”.\n- __Filter:__ To be used as a filter for browsing the site.\n- __Required:__ Not required.\n- __Show Specification:__ Not required.\n- __Link in the Top Menu:__ Not required.\n- __Link in the Side Menu:__ Not required.\n- __Active:__ Enables or disables the field in the Product register.\n\n### Attribute values\n\nHere we will have to register the predefined values that will comprise the Product register:\n\nWith the above field already created, click on the action button and then on __Values__. Then enter the values according to the following standard:\n- **gender**: can only be “male”, “female” and “unisex”;\n- **age\\_group**: can only be “newborn”, “infant”, “toddler”, “kids” and “adult”\n- **availability**: can only be “in stock”, “out of stock” and “preorder”\n- **condition**: can only be “new”, “used” and “refurbished”\n\nThe values can be created all at the same time, just enter a line break for each one.\n\nJust save this and the values will become listed.\n\nNow just define on Google Shopping XML the attributes as structured above.\n\nSee [How to Configure Google Shopping XML](/en/docs/tutorials/how-to-configure-xml-for-google-shopping) for instructions on how to configure the XML."}