google_ads_device_targeting_get
Retrieve device targeting configuration for a Google Ads campaign. Returns DESKTOP, MOBILE, TABLET entries with bid modifier and enabled status. Identifies when delivery is disabled (bid modifier 0). Read-only for auditing.
Instructions
Get the device targeting state for a Google Ads campaign. Always returns three entries (DESKTOP, MOBILE, TABLET in that order), each shaped {criterion_id (string or null when no explicit criterion exists), device_type ('DESKTOP'|'MOBILE'|'TABLET'), bid_modifier (float or null), enabled (bool — True when no criterion exists OR bid_modifier != 0.0; False when bid_modifier==0 meaning delivery is off)}. Read-only. The 'enabled=False' semantics are mureo's convention: Google represents 'don't serve' as bid_modifier=0.0 (i.e. -100%). For modifying, use google_ads_device_targeting_set or google_ads_bid_adjustments_update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | Google Ads customer ID as a 10-digit string without dashes (e.g. '1234567890'). Optional — falls back to GOOGLE_ADS_CUSTOMER_ID / GOOGLE_ADS_LOGIN_CUSTOMER_ID from the configured credentials when omitted. | |
| campaign_id | Yes | Campaign ID as a numeric string without dashes (e.g. '23743184133'). Obtain via google_ads_campaigns_list. |