---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/live/ResumeCampaign.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/live/ResumeCampaign.md
  - href: en/live/ResumeCampaign.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/dev/direct/doc/dg-v4/en/llms.txt

# ResumeCampaign (Live)
Allows displays of campaign ads.

{% note alert %}

Disabled method. Use version 5 of the API.

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

{% endnote %}


If ad impressions are allowed at the campaign level, the `StatusShow` parameter for the campaign is set to “Yes”.

Allowing displays at the campaign level 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 ads, and enabled displays on the ad level ([ResumeBanners](https://yandex.com/dev/direct/doc/dg-v4/en/reference/ResumeBanners.md) method). An actual impression corresponds to the Yes value in the `IsActive` parameter.

## Restrictions


{% note alert %}

This method only supports campaigns with the “Text & Image Ads” type. To work with all types of campaigns, use the [Campaigns](https://yandex.ru/dev/direct/doc/ref-v5/campaigns/campaigns.html) service in version 5 of the API. [More information about campaign types](https://yandex.com/dev/direct/doc/dg/objects/ad.htmlcampaign.md)

{% endnote %}



## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "ResumeCampaign",
   "param": {
      /* CampaignIDInfo */
      "CampaignID": (int)
   }
}
```

Parameters are described below.


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

||
**<sub >CampaignIDInfo object</sub>**
||
||
`CampaignID`
|
The campaign ID.
|
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
}
```

## PHP

```php
array(
   'CampaignID' =3665578
)
```

## Perl

```perl
{
   'CampaignID' =3665578
}
```

