# Awin module

### How to Get Your Datafeed Download URL

1. If you don’t have an account on the **AWIN affiliate network**, [create one here](https://www.keywordrush.com/go/awin).
2. Navigate to **Toolbox → Create-a-Feed**.
3. Select your desired **language**, **categories**, **advertisers**, and other options, then click **Next**.
4. Copy the **generated feed URL** displayed at the bottom of the page.

<figure><img src="/files/pWCXzQeXL6iAvS2miGJe" alt=""><figcaption></figcaption></figure>

### What Happens After Import

* All products from the datafeed will be imported into your site's **local database**.
* Once imported, you can **search and filter products** by keywords directly from your local database.
* Feed loading starts **in the background** automatically when you **activate** the module or **re-save its settings**.
* Please allow a few minutes for the feed to finish loading before using search features.

> **Note:** The feed will automatically re-sync each time you change the module settings.

#### Check for Feed Loading Errors

To ensure everything is working correctly, verify that **no errors occurred** during the feed import process.

![](/files/-M8RKZpqEjVC4_Q2KNo4)

#### Important: Data Feed Size Warning

Large feeds can put significant strain on your server. For best performance:

* **Avoid importing extremely large feeds** (over 100,000 products).
* **Split feeds** by categories or advertisers when possible.
* Use multiple instances of the [**Feed Module**](/modules/feed-modules.md) to manage separate datafeeds.

![](/files/-M4t5OM5QEcRcqR4ZirE)

### Search Options

You can search imported products:

* By **keyword**
* Or by **direct link**

![](/files/-M4t5a9y4204kqXjDazH)

### FAQ

#### I can download an advertiser's datafeed, but I'm not joined to them. How is that possible?

Awin has a **"soft membership"** policy.\
This applies to advertisers who:

* Have **auto-join** enabled for affiliate approvals, and
* Provide a valid datafeed.

You can access their feed even if you're not explicitly joined.\
If a sale is made using this feed, **you will still be credited** for the commission.

#### How can I manually update the local database without waiting for the automatic sync?

You can force a manual refresh:

1. Go to **Content Egg → Settings → Awin**.
2. Simply **resave the settings**.

This will clear the local database.\
The datafeed will be **automatically re-downloaded** the next time you perform a product search.

#### What happens if a product no longer exists after the feed update?

If a product is missing from the latest feed:

* Its **stock status** will be set to **"Out of Stock"** in the local database.

#### Why is the domain name or merchant logo missing or incorrect?

Some advertisers **don’t include original product URLs** in their feed.\
As a result, Content Egg can’t detect the correct domain or logo.

You can fix this using a custom mapping in your `functions.php` file:

```php
function my_awin_mapping( $pairs ) {
    $pairs['Cdiscount FR'] = 'cdiscount.com';
    $pairs['Darty FR']     = 'darty.com';
    return $pairs;
}

add_filter( 'cegg_awin_merchant_mapping', 'my_awin_mapping', 1 );
```

&#x20;     &#x20;


---

# 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://ce-docs.keywordrush.com/modules/affiliate/awin.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.
