How to unset device targeting via API?

63 views
Skip to first unread message

Inessa M

unread,
Dec 23, 2018, 8:05:11 PM12/23/18
to AdWords API and Google Ads API Forum
Hi all,

As far as I know any campaign is targeted by default to three types of devices (desktop, tablet and highend mobile). But I would like to target my campaign only for desktop device type. I tried to remove tablet and mobile targeting using CampaignCriterionService::mutate() method with REMOVE operator but I received 'CriterionError.CANNOT_REMOVE_CRITERION' error. Also I tried to set campaignCriterionStatus to REMOVED or PAUSED but in this case I received 'CampaignCriterionError.CANNOT_SET_STATUS_FOR_CRITERIA_TYPE' error. 

Also I read here that I can unset device targeting by setting the bidModifier to 0.0 for extra device types. So is it the only way to exclude the unwanted devices from targeting?

Regards,
Inessa M.

Dannison Yao (AdWords API Team)

unread,
Dec 26, 2018, 1:13:59 AM12/26/18
to AdWords API and Google Ads API Forum
Hi Inessa,

As discussed in the forum post you have provided, exclusion of placements in a campaign level is not possible. You may refer to this guide for more details. If you would like to opt out of a particular Platform, you need to set the bidModifier to 0.0 for that specific criteria.

Regards,
Dannison
AdWords API Team
Reply all
Reply to author
Forward
0 new messages