---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.2
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/reference/ResumeBanners.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/reference/ResumeBanners.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt

# ResumeBanners
Allows ad displays.

{% note alert %}

Disabled method. Use version 5 of the API.

For information about the compatibility of methods between versions 4 and 5, see the [Migration guide](https://yandex.com/dev/direct/doc/migration/concepts/methods.md).

{% endnote %}


The [ResumeBanners (Live)](https://yandex.com/dev/direct/doc/dg-v4/en/live/ResumeBanners.md) version also exists for this method.

For ads that are allowed to be displayed, the `StatusShow` parameter is set to “Yes”.

Allowing displays does not mean that the ad is actually displayed. For impressions, other conditions must be met as well: sufficient funds, moderator approval of the campaign and ad, and enabled displays on the campaign level (the [ResumeCampaign](https://yandex.com/dev/direct/doc/dg-v4/en/reference/ResumeCampaign.md) method). An actual impression corresponds to the Yes value in the `IsActive` parameter.


## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "ResumeBanners",
   "param": {
      /* CampaignBidsInfo */
      "CampaignID": (int),
      "BannerIDS": [
         (long)
         ...
      ]
   }
}
```

Parameters are described below.


#|
||
**<sup >Parameter</sup>**
|
**<sup >Description</sup>**
|
**<sup >Required</sup>**
||

||
**<sub >CampaignBidsInfo object</sub>**
||
||
`CampaignID`
|
The campaign ID.
|
Yes
||
||
`BannerIDS`
|
Array containing IDs of ads that are enabled for impressions (no more than 2000 IDs).
|
Yes
||
|#


## Output data {#output}

Returns 1 when executed successfully, as shown in the following example.

```javascript
{
   "data": 1
}
```


## Examples of input data {#example}

## Python

```python
{
   'CampaignID': 3665578,
   'BannerIDS': [20155899]
}
```

## PHP

```php
array(
   'CampaignID' => 3665578,
   'BannerIDS' => array(20155899)
)
```

## Perl

```perl
{
   'CampaignID' => 3665578,
   'BannerIDS' => [20155899]
}
```

