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

# Bid (KeywordBid)

You can set a bid for a keyword or autotargeting based on the [display strategy](https://yandex.ru/dev/direct/doc/en/objects/campaign-strategies.md) of your campaign:

- If the [HIGHEST_POSITION](*HIGHEST_POSITION) display strategy is chosen for search, the `SearchBid` parameter can be specified.

- If the [MAXIMUM_COVERAGE](*MAXIMUM_COVERAGE) or [MANUAL_CPM](*MANUAL_CPM) display strategy is chosen for ad networks, the `NetworkBid` parameter can be specified.


## Service {#service}

You can use the [KeywordBids](https://yandex.com/dev/direct/doc/keywordbids/keywordbids.html) service to set bids for keywords.

### Methods {#methods}

[get](https://yandex.com/dev/direct/doc/keywordbids/get.html) | [set](https://yandex.com/dev/direct/doc/keywordbids/set.html) | [setAuto](https://yandex.com/dev/direct/doc/keywordbids/setAuto.html)

Use the [set](https://yandex.com/dev/direct/doc/keywordbids/set.html) method to set a bid for:

- A separate keyword or autotargeting.

- All keywords and autotargetings in an ad group.

- All keywords and autotargetings in a campaign.


The [setAuto](https://yandex.com/dev/direct/doc/keywordbids/setAuto.html) method automatically calculates bids for keywords on search depending on the desired traffic volume, or bids in ad networks depending on the desired frequency of impressions (audience share).

The [get](https://yandex.com/dev/direct/doc/keywordbids/get.html) method returns bids for keywords and autotargetings, along with the auction data.


{% note alert %}

- Bids and prices are passed via the Yandex Direct API as **integer numbers**. The passed value represents the bid or price **multiplied by 1,000,000**.

- All bids and costs appear in the user's currency.

{% endnote %}



## Restrictions {#limits}

The minimum and maximum CPC and CPM bids for each currency are listed in the currency reference. To get the list of currencies, use the [Dictionaries](https://yandex.com/dev/direct/doc/dictionaries/dictionaries.html).[get](https://yandex.com/dev/direct/doc/dictionaries/get.html) method and specify the dictionary name `Currencies` in the request.


[*HIGHEST_POSITION]: "Manual bid management with optimization"
See the [description](https://yandex.com/support/direct/en/strategies/manual-strategy.html) in Yandex Direct Help.

[*MAXIMUM_COVERAGE]: "Manual bid management with optimization" with separate bid management for Yandex Search and ad networks
See the [description](https://yandex.com/support/direct/en/strategies/manual-strategy.html) in Yandex Direct Help.

[*MANUAL_CPM]: "Manual bid management" (for display campaigns)
See the [description](https://yandex.com/support/direct/en/strategies/manual-strategy.html) in Yandex Direct Help.