---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.1
alternate:
  - https://yandex.com/dev/direct/doc/en/keywords/suspend.md
  - https://yandex.com/dev/direct/doc/ru/keywords/suspend.md
  - href: https://yandex.com/dev/direct/doc/en/keywords/suspend.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/direct/doc/en/llms.txt?revision=r22075473
    rel: describedby
sourcePath: en/ref-v5/keywords/suspend.md
title: suspend — Yandex Direct API
description: Stops displays for keywords and autotargetings — restrictions, request and response structure.
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/en/llms.txt?revision=r22075473


# suspend

Stops displays for keywords and autotargetings.

## Learn more

- [How methods that change data work](https://yandex.com/dev/direct/doc/en/best-practice/modify)
- [How to handle errors](https://yandex.com/dev/direct/doc/en/concepts/errors)


## Restrictions {#restrictions}

Maximum of 10,000 objects per method call.


## Request {#input}

Request structure in JSON format:

```javascript translate=no
{
  "method": "suspend",
  "params": { /* params */
    "SelectionCriteria": {  /* IdsCriteria */
      "Ids": [(long), ... ] /* required */
    } /* required */
  }
}
```

#|
||
**Parameter**
|
**Type**
|
**Description**
|
**Required**
||

||
**params structure (for JSON) / SuspendRequest structure (for SOAP)**
||
||
`SelectionCriteria`
|
IdsCriteria
|
Criteria for selecting the keywords and autotargetings to stop.
|
Yes
||

||
**IdsCriteria structure**
||
||
`Ids`
|
array of long
|
IDs of keywords and autotargetings to suspend (maximum of 10,000).
|
Yes
||
|# 


## Response {#output}

Response structure in JSON format:

```javascript translate=no
{
  "result": { /* result */
    "SuspendResults": [{  /* ActionResult */
      "Id": (long),
      "Warnings": [{  /* ExceptionNotification */
        "Code": (int), /* required */
        "Message": (string), /* required */
        "Details": (string)
       }, ...
      ],
      "Errors": [{  /* ExceptionNotification */
        "Code": (int), /* required */
        "Message": (string), /* required */
        "Details": (string)
       }, ...
      ]
    }, ... ] /* required */
  }
}
```

#|
||
**Parameter**
|
**Type**
|
**Description**
||

||
**result structure (for JSON) / SuspendResponse structure (for SOAP)**
||
||
`SuspendResults`
|
array of ActionResult
|
Results of suspending keywords and autotargetings.
||

||
**ActionResult structure**
||
||
`Id`
|
long
|
ID of the keyword or autotargeting. Returned if there aren't any errors. See the section [Operations on object arrays](https://yandex.com/dev/direct/doc/en/best-practice/modify).
||
||
`Warnings`
|
array of [ExceptionNotification](https://yandex.com/dev/direct/doc/en/best-practice/modify)
|
Warnings that occurred during the operation.
||
||
`Errors`
|
array of [ExceptionNotification](https://yandex.com/dev/direct/doc/en/best-practice/modify)
|
Errors that occurred during the operation.
||
|# 

