---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/support/direct-commander-new/en/keywords/deduplicate.md
  - https://yandex.com/support/direct-commander-new/ru/keywords/deduplicate.md
  - href: en/keywords/deduplicate.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/support/direct-commander-new/en/llms.txt

# How to optimize keywords

In Direct Commander, you can quickly optimize a set of keywords: eliminate overlap or merge duplicates.

#### **Eliminate overlap** {#cross-backing}
 
Removes overlapping keywords matching the same search query. If two keywords differ by one word, a negative keyword is added to one of them.

Examples:

#|
||
**Original keywords** | **Result** | **Comment**
||
||
_Trip to mars_

_free trip to mars_
|
_trip to mars -free_

_free trip to mars_
|
![](../_assets/button-ok.png)Negative keyword added
||
||
_buy trip_

_buy trip alpha centauri_
|
_buy trip_

_buy trip alpha centauri_
|
![](../_assets/button-cancel.png)Keywords differ by more than one keyword, overlaps are not eliminated
||
||
_moon tour -reviews_

_book tour to Moon_
|
_moon tour -reviews -book_

_book tour to Moon_
|
![](../_assets/button-ok.png) Negative keyword added Word order, grammatical form, and stop words do not matter
||
|#

#### **Merge duplicates**
 
Combines several phrases that differ only in negative keywords. The combined keyword will contain the negative keywords from all the original keywords. The other keywords are deleted. If statistics exists for keywords, the keyword with the best CTR is left.

Examples:

#|
||
**Original keywords** | **Result** | **Comment**
||
||
_flight to the moon -cartoon_

_moon flight -free -cheap_
|
_moon flight -free -cheap -cartoon_
|
![](../_assets/button-ok.png) The keywords have been merged. Word order, grammatical form, and stop words do not matter
||
||
_flight to mars_

_fly to mars_
|
_flight to mars_

_fly to mars_
|
![](../_assets/button-cancel.png)Different parts of speech, no merging
||
|#

You can also optimize a set of keywords that belong to different ad groups or campaigns. However, overlap is eliminated and duplicates are merged only between ad groups served in the same regions and promoting the same website.

## Keyword optimization {#optimization-steps}

1. In the **Campaigns** tab, select one or [multiple](https://yandex.com/support/direct-commander-new/en/getting-started/multiple-choice.md) campaigns.

1. [Get](https://yandex.com/support/direct-commander-new/en/general/download.md#sync-campaign) statistics and prices for the selected campaigns: click **Get** and select the **Statistics and prices only** option.

1. On the **Ad groups** tab, select one or multiple ad groups.

1. Go to the **Keywords** tab. If you want to eliminate overlaps or merge duplicates for selected keywords only, select the relevant keywords.

1. Click the **Edit** button and select **Optimize keywords** from the menu.

1. In the window that opens, specify which set of keywords to correct.

1. Select the operation to apply: eliminate overlaps only, merge duplicates only, or both.
    
    {% note tip %}
    
    Merging duplicates can result in all keywords deleted from some ad groups. To be able to [quickly find](https://yandex.com/support/direct-commander-new/en/getting-started/filters.md#favorites) such groups later, turn on the option **Mark the groups that all phrases were deleted from with a star ★**.
    
    {% endnote %}
    
1. Select the option **Show preview of changes**.

    <!-- source: en/_includes/keywords/deduplicate/id-deduplicate/wizard-2.md -->
    Use the **Preview changes** option to check the changes that will result from keyword optimization and edit them, if needed.
    <!-- endsource: en/_includes/keywords/deduplicate/id-deduplicate/wizard-2.md -->
    

1. Click the **Apply** button.

1. Check and edit changes in the window **Preview changes**.
    The window displays all the keywords that are going to be changed. If you have a lot of changes, they are divided into parts. Click **Next** to view the next part of your changes.
    For more information, see [Preview changes](#wizard).
    
    {% note info %}
    
    Follow this step only if **Show preview of changes** is selected.
    
    {% endnote %}
    

1. Click the **Finish** button.

## Previewing changes {#wizard}

Use the **Preview changes** option to check the changes that will result from keyword optimization and edit them, if needed.

{% list tabs %}

- Edit changes  
  
  1. Check the changes on all the tabs in the **Preview changes** window.

      <!-- source: en/_includes/keywords/deduplicate/id-deduplicate/wizard-decrsp.md -->
      The window displays all the keywords that are going to be changed. If you have a lot of changes, they are divided into parts. Click **Next** to view the next part of your changes.
      <!-- endsource: en/_includes/keywords/deduplicate/id-deduplicate/wizard-decrsp.md -->
      
  
  1. Apply or cancel changes:

      - In the **Duplicates** tab, you'll see the keywords to be deleted as a result of optimization.

        To keep a keyword, clear the option in the **Delete** column for the keyword.
      
        To mark a keyword with a star, select the option to the left of the desired keyword.
      
      - In the **Overlaps** tab, you'll see the keywords that will have negative keywords added (this is needed to eliminate overlaps in the set of keywords). The changes will be highlighted in bold.

        To cancel adding negative keywords, clear the option in the **Adjust** column for the desired keyword.
      
  
  1. Click the **Finish** button.
  

- Manage the list using the keyboard
  
  You can use keyboard shortcuts for certain actions: 
  
  #|
  ||
  **Keyboard shortcut** | **Description**
  ||
  ||
  Space
  |
  Select or clear a change.
  ||
  ||
  Ctrl + M
  |
  Add/remove star for the selected items
  ||
  ||
  ↑, ↓
  |
  Move one row up or down.
  ||
  ||
  Hover the cursor and click on the first item, then press Shift and click on the last item
  |
  Select multiple items sequentially.
  ||
  ||
  Ctrl + A (Win)
  
  cmd + A (Mac)
  |
  Select all items on the active tab
  ||
  |#

{% endlist %}

<!-- source: en/_includes/footer.md -->
<div width="100%" align="center"> 
<br><br><br>
You can also go to 
<br>



[![](https://yastatic.net/s3/doc-binary/src/support/direct-commander-new/ru/files/log-commander-en.svg)](https://yandex.com/project/commander/new)


</div>

<!--  -->
<!-- endsource: en/_includes/footer.md -->

<!-- source: en/_includes/remove-voting-style.md -->

<!-- endsource: en/_includes/remove-voting-style.md -->
