# 💡How to apply Feed rules?🤔

**Feed rules** allow merchants to **customize** and **optimize** product data feeds for Google Shopping, ensuring **compliance, accuracy, and improved** product visibility while **automating feed management** and **reducing manual effort**.\ <br>

To create a **Feed Rule**, navigate to the “**Feed Rule**” section of Wixpa feed and click on “**Create New Rule**”<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfzK97y3weTU_UlJfFzZgTsdHEEVnlJiOSw6GDnTVsuOdGKY7viaPlEm1E-twByNWn4hbY4AStIxqhTXmlrEnRpqgoguVjJA6eoJoXx0PpCaWEGolXHoo9-cy4OPf0sIC_2FRE22BsKTJXaop0Y1Y5bIl0?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Select the **attributes** you want to **modify,** then choose the **appropriate rule** accordingly.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdbxE6F06aATDszaDRUM46TKrTUrjIrP8ohmeR9MdHIyoS9mPUbaap7DiLahN_qtBvylU1he8vNiWPhzSPideCc-a8HLXdDoDCHUt-LQrLJMV5szPiHIOuvE3CwAtaLpcL8IyZUl1kyM7ROprKP6JoOc5qV?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

To apply a **Feed Rule**:

<br>

1\. **Select Attributes**: Choose the attributes you want to modify.

2\. **Choose Application Scope**: Decide if you want the rule to apply to **all products** or **specific products only**.&#x20;

&#x20;  \- For specific products, click **Only If** and set the conditions.

3\. **Set Conditions**: Select **attributes** and **operators** that match your specific product criteria.

&#x20;  \- You can add multiple conditions using **AND** or **OR** operators for more refined filtering.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd0whbWK0Mtxh1wit_SUzrqauNDunJsLH3QhYWblJvP3i_NHDcMUA2BVIm3IMUhsuGE5BZ2Uh6zJ4aG3RAFPFMRjhAnDghtEG1lBJGMU_aUjMJ8vJKcnOrA_nSKGnkT26qsnNThtRQ6vCbbEvq3u-tBY8h9?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

In this **Feed Rule** setup, the *Product Type* will be replaced by the *Brand* for **specific products** based on the following conditions. First, an **AND** condition checks if the *Age Group* is not equal to *Adults* and the *Color* is equal to *Red*. If both of these conditions are met, the rule applies. However, if these conditions are not satisfied, an **OR** condition will activate instead, applying the rule when the *Price* is equal to or greater than *100*. This setup ensures that the primary conditions must be checked first, with the secondary **OR condition** applying only when the initial conditions are not applicable. And then click on **Save Rule.** <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcVgWLSWjL1D5P6QfZXLWJwObUzDAy4CIiHGdqEtp-fWf7jkMrs9SAUxm1_mR8PZiyOu7qPMuBIH_IeCurcR_Zi44BFL07FVgCI_hCSlgzbaGMyeXGnjT4nsP1wji_fNKEkAmDGYEEQpQrFixGyBLAMeZEZ?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Then click on **Apply**&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdC7aeQ-6lpH4m2-hatE17hWDZ2tCffC7mQtt2TZu15iv-9KbXwLxFyN9Vu7g9jg-KzUFiAG80gH48iacEFAIonuoFDGxeaO7qFI1yVQEyv7GYW5R-k0vy8CSE_mP0-Z5hdncb9m_8dDDkr2Y7DMZyIwDt4?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

Next, select the **feeds** you want to modify and click **Apply** to implement the Rule.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdLJTCRLus8G2cBD-5LdycNtJRe0Rl0f-u80r7SrecfjWnurKxNw3HKV2ea8cCDgWSShzLp0yB4iMH53L3mvcYU9CU6Lwc5HKeczd9bIa4TS3wnM3qc2-IwGwFu0nwtwEqG_Qc7LHAmKLIUtATqqxH3I-o?key=k9heDR9hpJMnQ0GrGcLQvg" alt=""><figcaption></figcaption></figure>

**Congrats**🤩! Your **Feed Rules** have been successfully applied.

<br>

{% embed url="<https://youtu.be/M_894YDkSPI?si=E9e5CvSOSMDZmkE1>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wixpa-feed.gitbook.io/wixpa-feed/wixpa-google-shopping-feed/how-to-apply-feed-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
