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!

On Wednesday, January 6, 2021 at 9:06:35 PM UTC-8 adsapiforumadvisor wrote:

> 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 
> <https://developers.google.com/google-ads/api/docs/targeting/criteria#campaign_criteria>
>  (DeviceInfo). 
> However, you may set 0 to the bid_modifier 
> <https://developers.google.com/google-ads/api/reference/rpc/v6/CampaignCriterion#bid_modifier>
>  of 
> CampaignCriterion 
> <https://developers.google.com/google-ads/api/reference/rpc/v6/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,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AI3XZ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ff55fa0f-de3a-44bd-a6d7-68f1992e3760n%40googlegroups.com.

Reply via email to