> For the complete documentation index, see [llms.txt](https://ap-buddy.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ap-buddy.gitbook.io/docs/modules/clean-listings.md).

# Clean Listings

## Overview

<figure><img src="https://804947911-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqunPreju5shJtHWzxdbw%2Fuploads%2F9aysiWxJGTKtgVkYbrrl%2FFrame%205.png?alt=media&amp;token=dc94501a-a385-460f-a4c6-18969f4e2f48" alt=""><figcaption></figcaption></figure>

The Clean Listings module is used to remove listings that don't meet desired view/sales thresholds that can be set in your config. This is useful for ensuring free listing space isn't used up, and increasing your sell-through-rate statistics. The module gets all listings with 24 hours or less before renewal, and checks their views and sales history. It then compares the views and sales history to your configured settings and determines if a product should be deleted or left alone.

### eBay Setup

In order for the module to have access to listing information, your eBay listings page must be properly configured.

1.) Head to your eBay Listings page.

2.) Click Customize Table - This should be at the top right of the listings table.

3.) Enable 'Sold Quantity', ' Views (30 Days)', 'Current Price' and 'Start Date'. You are welcome to enable any other columns you wish, these will not affect the module's operations.

4.) Press save and you're done this step!

## Configuration

* <mark style="color:orange;">**Mode**</mark> : ( Recommendation : Both )&#x20;
  * <mark style="color:yellow;">**Views Mode**</mark> : Uses only views to determine if an item should be deleted. If an item has less views than the view count configured it will be deleted.
  * <mark style="color:yellow;">**Sales Mode**</mark> : Uses only sales to determine if an item should be deleted. If an item has less sales than the sales count configured it will be deleted.
  * <mark style="color:yellow;">**Both Mode**</mark> : Uses both views and sales to determine if an item should be deleted. If an item has less views and less sales than the configured view and sales count it will be deleted.
* <mark style="color:orange;">**View Count**</mark> : The minimum number of views for an item to pass checks and not be deleted by AP Buddy.
* <mark style="color:orange;">**Sales Count**</mark> : The minimum number of sales for an item to pass checks and not be deleted by AP Buddy.
* <mark style="color:orange;">**Lifetime Sales Count**</mark> : Only used when <mark style="color:orange;">**Use Monthly Sales**</mark> is enabled. Prevents deletion of items whose lifetime sales are greater than or equal to this value.&#x20;
  * <mark style="color:blue;">**Example**</mark>: if this is set to 5, any item with 5+ lifetime sales will be kept, even if its monthly sales would otherwise qualify it for deletion.
* <mark style="color:orange;">**Use Monthly Sales**</mark> : Changes Sales Count to check the Monthly Sales count. Otherwise, it uses Lifetime Sales Count. ( Recommendation : Enabled )&#x20;
* <mark style="color:orange;">**Sales Count Edit Threshold**</mark> : The number of sales where AP Buddy will no longer edit a product's price.
* <mark style="color:orange;">**View Count Edit Threshold**</mark> : The number of views where AP Buddy will no longer edit a product's price.
* <mark style="color:orange;">**Margin Edit Amount**</mark> : The amount to drop the target profit margin by when an item is edited.&#x20;
* <mark style="color:orange;">**Minimum Profit Margin**</mark> : The minimum profit margin AP Buddy will allow to be set.
* <mark style="color:orange;">**Minimum Real Profit**</mark> : The minimum dollar amount profit margin AP Buddy will allow to be set.
* <mark style="color:orange;">**Ignored Item IDs**</mark> : A list of Item IDs the Clean Listings module will entirely ignore. One Item ID to a line.&#x20;
