Manage Device Targeting (bid adjustments)
manage_device_targetingSet a campaign's per-DEVICE bid adjustment — the WRITE side of the device criteria that get_campaign_targeting reads. Lets you run e.g. MOBILE-ONLY by excluding desktop + tablet. device: MOBILE | DESKTOP | TABLET | CONNECTED_TV (comma-separated, e.g. 'DESKTOP,TABLET'). bid_modifier_pct: percent adjustment for those device(s): • -100 = EXCLUDE the device (ads won't show there), • 0 = neutral / reset (no adjustment), • +20 = bid 20% more, -50 = 50% less. Range -100..+900. Mobile-only recipe: device='DESKTOP,TABLET', bid_modifier_pct=-100. CONNECTED_TV matters on Demand Gen and Video: that inventory is ON by default and a TV impression rarely turns into a click, so a traffic campaign usually wants it excluded (device='CONNECTED_TV', bid_modifier_pct=-100). On Demand Gen Google accepts ONLY full exclusion (-100) or neutral (0) for EVERY device — a partial adjustment like -50 is rejected by Google on that channel (measured), and the reply says so instead of passing the raw error through. Creates the device criterion if missing, else updates its adjustment. confirm=false previews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| confirm | No | ||
| campaign_id | Yes | ||
| customer_id | Yes | ||
| bid_modifier_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||