Hi Ichiro,

By default, new campaigns already contains a Platform criterion 
<https://developers.google.com/adwords/api/docs/appendix/targetingtypes#devices>
 for 
each of Desktop, HighEndMobile, and Tablet. To make changes on this 
criterion, you may use the CampaignCriterionService.mutate() 
<https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService#mutate>
 and 
use the *SET 
<https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService.CampaignCriterionOperation#operator>*
 operator to 
update your targeted device. You may refer to this guide 
<https://developers.google.com/adwords/api/docs/appendix/codes-formats#platforms>
 for 
their respective criterion id. Also, you may refer to this sample code 
<https://developers.google.com/adwords/api/docs/samples/java/targeting#add-targeting-criteria-to-a-campaign>
 in 
Java (also available in other languages) on how to add a criteria to your 
campaign. However, that sample code uses Location and Language criteria.  
All you need to do is to change the criterion object to Platform.

Let me know if you still need further assistance.

Thanks and regards,
Luis
AdWords API Team

On Monday, August 13, 2018 at 2:34:44 PM UTC+8, ichiro h wrote:
>
> Hi,
>
> In the campaign setting device, select "designate targeting for each 
> terminal"
> In addition, I want to check the PC, mobile web, tablet web.
> Please tell me how to code.
>
> Thank you.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e62238ff-f672-4a46-97a7-7bfe89643d1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... ichiro h
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to