set_device_bid_adjustment
Set a campaign's bid adjustment for a specific device, such as Smartphones or Computers. Use percent modifiers from -100 to +900 to control bids or exclude the device.
Instructions
Set a campaign's bid adjustment for one device (e.g. a mobile modifier).
Microsoft calls mobile "Smartphones" (there is no "Mobile"); "Computers" is desktop/laptop. Device criterions are created as a set, so the first time you set any device this also creates the other two at a neutral 0. Read the current values first with get_device_bid_adjustments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The device to adjust. Canonical values are "Computers", "Smartphones", and "Tablets"; the friendly aliases "mobile" (-> Smartphones), "desktop"/"pc" (-> Computers), and "tablet" are also accepted (case-insensitive). | |
| campaign_id | Yes | The campaign id. | |
| bid_adjustment | Yes | Percent modifier from -100 to 900 (e.g. 40 = +40%); -100 excludes the device from serving entirely. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |