---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/en/bidmodifiers/set.md
  - https://yandex.com/dev/direct/doc/ru/bidmodifiers/set.md
  - href: en/bidmodifiers/set.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/ref-v5/bidmodifiers/set.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/en/llms.txt

# set

Changes the coefficient values in bid adjustments.

### Learn more {#see-also}

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


## Request {#input}

Request structure in JSON format:

```javascript
{
  "method": "set",
  "params": { /* params */
    "BidModifiers": [{  /* BidModifierSetItem */
      "Id": (long), /* required */
      "BidModifier": (int) /* required */
    }, ... ] /* required */
  }
}
```

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

|| **params structure (for JSON) / SetRequest structure (for SOAP)** | > | > | > ||

|| `BidModifiers` | array of BidSetItem | Coefficient values. Maximum of 1000 items in the array.  | Yes ||

|| **BidModifierSetItem structure** | > | > | > ||

|| `Id` | long | Bid adjustment ID.  | Yes ||

|| `BidModifier` | int | Coefficient value.

Specified as a percentage:

- From 0 to 1300 for adjustments on mobile devices (in all types of campaigns and ad groups), on computers, tablets, Smart TVs (in all types of campaigns and ad groups), for gender and age, and for target audience.
- From 1 to 1300 for adjustments for exclusive placement, income, and groups.
- From 10 to 1300 for regional adjustments.
- From 20 to 1300 for smart banner adjustments.

The bid is multiplied by the value of `BidModifier/100`.  | Yes ||
|# 


## Response {#output}

Response structure in JSON format:

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

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

|| **result structure (for JSON) / SetResponse structure (for SOAP)** | > | > ||

|| `SetResults` | array of ActionResult | Results of changing coefficients.  ||

|| **ActionResult structure** | > | > ||

|| `Id` | long | Bid adjustment ID. Returned if there aren't any errors. See the section [Operations on object arrays](https://yandex.com/dev/direct/doc/dg/best-practice/modify.html).  ||

|| `Warnings` | array of ExceptionNotification | Warnings that occurred during the operation.  ||

|| `Errors` | array of ExceptionNotification | Errors that occurred during the operation.  ||
|# 

