HI Bharani, 

Thanks for the explanation and help. I have had success using  
ConstantDataService.getMobileDeviceCriterion() 
<https://developers.google.com/adwords/api/docs/reference/v201809/ConstantDataService#getMobileDeviceCriterion>
  
to get the ids and have been able to add mobile devices to a campaign.
I have a further question. How do i negatively set mobile devices on a 
campaign. (to exclude these devices from a campaign). The isNegative Field 
states it is readonly, is there a way to set this? 
Currently i can only set a mobile device onto a campaign where isNegative 
is false. Am i correct in assuming the isNegative field will target these 
mobiles if false and exclude them if true? 

Example of response below showing isNegative as false:

<value>
                    <campaignId>2087725659</campaignId>
                    <isNegative>false</isNegative>
                    <criterion  xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"; xsi:type="MobileDevice">
                        <id>613251</id>
                        <type>MOBILE_DEVICE</type>
                        <Criterion.Type>MobileDevice</Criterion.Type>
                        <deviceName>8079</deviceName>
                        <manufacturerName>Alcatel</manufacturerName>
                        <deviceType>DEVICE_TYPE_TABLET</deviceType>
                        <operatingSystemName>Android</operatingSystemName>
                    </criterion>
                    <campaignCriterionStatus>ACTIVE
</campaignCriterionStatus>
                    <CampaignCriterion.Type>CampaignCriterion
</CampaignCriterion.Type>
                </value>


Kind Regards, 
James



On Tuesday, August 20, 2019 at 6:33:02 PM UTC+1, adsapiforumadvisor wrote:
>
> Hi James, 
>
> I'm Peter's colleague addressing your concern as he is out of office. You 
> will be able to use the ConstantDataService.getMobileDeviceCriterion() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/ConstantDataService#getMobileDeviceCriterion>
>  
> to pull the specific criteria IDs for Mobile devices. You will need to use 
> the Criteria Id for the corresponding mobile device in your request. Could 
> you please give this a try?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UEJSqY: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/db7072e6-aec8-436a-8778-386a4f950446%40googlegroups.com.

Reply via email to