Device targetting on the campaign level

61 views
Skip to first unread message

Roman Akhtariev

unread,
Jan 6, 2021, 2:42:06 PM1/6/21
to AdWords API and Google Ads API Forum
Hi there!

Currently, I am trying to disable certain devices on the ad group level by using AdGroupBidModifier with the appropriate device type and setting `bid_modifier` to 0. Instead, I want to do the same on the Campaing level. However, it seems that CampaignBidModifier does not support devices. I also tried using CampaignCriterion to set bid_modifier to 0 but got the following error: `Error: This operator cannot be applied to a criterion of this type`.

My question is, how can I disable certain devices on the campaign level? Thank you!

Sources:

Google Ads API Forum Advisor Prod

unread,
Jan 7, 2021, 12:06:35 AM1/7/21
to ro...@akhtariev.ca, adwor...@googlegroups.com
Hi Roman,

Thanks for posting your concern.

Could you confirm if my understanding is correct that you want to exclude specific device type at the campaign level? If yes, then I am afraid that it is not possible according to this document (DeviceInfo). However, you may set 0 to the bid_modifier of CampaignCriterion to opt out of a Device type.

But I can see that you already doing the above statement. With this, please provide the following details via Reply privately to author option to further investigate:
  • complete request and response logs with request ID and where we can see the error.
  • customer ID

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AI3XZ:ref

Roman Akhtariev

unread,
Jan 8, 2021, 2:14:57 AM1/8/21
to AdWords API and Google Ads API Forum

Hi Ernie!

The customer id is '716-826-1846'. This is a test account.

Here's what I'm doing, I bolded the relevant parts: 

toMutate.push({

_resource: 'CampaignCriterion',

_operation: 'create',

ad_group: `customers/${customer.cid}/adGroups/${adGroupId}`,

campaign: `customers/${customer.cid}/campaigns/${adGroupId}`,

device: { type: enums.Device.MOBILE },

bid_modifier: 0,


});

Please let me know if you need anything else. Thanks!
Reply all
Reply to author
Forward
0 new messages