Hi there,

I want to set devices for the campaign while create and I am using the 
mutate operation. based on documentation at campaignCriterion operation I 
should be able to set Device criterion,

https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.resources#google.ads.googleads.v2.resources.CampaignCriterion

 but when I tried that I got this error:

This operator cannot be applied to a criterion of this type


 I read other posts and based on this link, it was mentioned in order to 
exclude a device, we need to set the bid_modifier to 0 for those criterion 
ids

https://groups.google.com/forum/#!topic/adwords-api/j2E6iS6dud8
 

> To target only Computer devices and opt out of Tablet and HighEndMobile 
> platforms, you need to use CampaignCriterionService to set the bidModifier 
> to 0.0 for CriterionIds 30001 and 30002. A bidModifier of 0.0 corresponds 
> to -100%, which is used for opting out of a platform. You can set the 
> required bid for CriterionId 30000 which corresponds to the 
> Computer(Desktop) platform. 



given the fact that criterion id can not set in mutate operation, Could you 
please guide me on how to set bid_modifier to 0 for devices I want to 
exclude while creating the campaign?

 

> criterion_id 
>
> Int64Value 
> <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Int64Value>
>
> Output only. The ID of the criterion.
>
> This field is ignored during mutate.
>


 thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9a88bfc4-3c93-43c7-9f38-808486c0f36f%40googlegroups.com.

Reply via email to