# Product Integration (XML Feed)

1. **Requirements**

To ensure a successful integration, your XML file must adhere to the **Google Shopping standard** (RSS 2.0 or Atom 1.0) and utilize the [Google namespace for the product attributes](https://support.google.com/merchants/answer/160589?hl=en), following the tag specifications below.

{% hint style="info" %}
For the `g:product_type` field, it’s essential to provide values that allow our system to accurately match products with the correct size charts.

We strongly recommend using one of the following standardized values:

* **Top**
* **Bottom**
* **Full Body**
* **Top Underwear**
* **Bottom Underwear**
* **Shoe**

We understand that adjusting this field in your feed may not always be simple. However, please note that sending non-standardized values increases the effort required from our team and may delay the integration process or lead to incorrect chart associations.

If you have any questions or need guidance on how to structure this field properly, please don’t hesitate to reach out to us.
{% endhint %}

2. **XML Tags & Descriptions**

| **Tag**                      | **Description**                                                                                | **Format** |
| ---------------------------- | ---------------------------------------------------------------------------------------------- | ---------- |
| `<g:id>`                     | Parent Product ID (Unique identifier for the product, not for individual size/color variants). | Text       |
| `<title>`                    | Product Title                                                                                  | Text       |
| `<g:product_type>`           | Product Category                                                                               | Text       |
| `<g:brand>`                  | Product Brand                                                                                  | Text       |
| `<link>`                     | Product Permalink                                                                              | URL        |
| `<g:image_link>`             | Product Image URL                                                                              | URL        |
| `<g:gender>`                 | Valid values: `male`, `female`, `unisex`                                                       | Text       |
| `<g:size>`                   | Clothing/Shoe Size (e.g., `"S"`, `"XL"`, `"34"`)                                               | Text       |
| `<g:age_group>`              | Valid values: `newborn`, `infant`, `toddler`, `kids`, `adult`                                  | Text       |
| `<g:size_type>` *(optional)* | Valid values: `regular`, `petite`, `plus`, `big and tall`, `maternity`                         | Text       |

3. **Handling Size Variants**

You can choose to submit **all size variations under a single item** or **each size variation as a separate item** in the XML.

**➡️ Best Practice:** To improve recommendations, **include all available sizes** for a product, even if some are currently out of stock.

**Example 1: Single Item with All Size Variants**

<div align="left"><figure><img src="https://1022323780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzImAk0E8gH5pd_yZOg%2Fuploads%2FtlnDZf84dbmxThNCksnT%2Fexample.png?alt=media&#x26;token=41743090-7ad0-416f-a26e-06a8ff93faf4" alt=""><figcaption></figcaption></figure></div>

**Example 2: Separate Items for Each Size Variation**

<div align="left"><figure><img src="https://1022323780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzImAk0E8gH5pd_yZOg%2Fuploads%2FK8LZ43xdJ0cQpfIGOoIq%2Fexample_2.png?alt=media&#x26;token=64080c26-9a1f-4f28-87ba-6070b6efdf38" alt=""><figcaption></figcaption></figure></div>
