Hi,

I think that the device type is called a Platform 
target<https://developers.google.com/adwords/api/docs/appendix/targetingtypes#device_types>in
 the CampaignCriterionService, so you need to issue a 
get<https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService#get>request
 with a 
predicate<https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.Predicate>to
 filter the 
Criterion.Type<https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.Criterion.Type>
 so 
the results only include targets of the *PLATFORM* type; you should get a 
response with a list of 
CampaignCriterion<https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.CampaignCriterion>
 objects from 
which you can extract the campaignId to obtain a list of campaigns that are 
using device targeting. If you need the specific device that is being used, 
then you can look at the id of each criterion to find out which 
platform<https://developers.google.com/adwords/api/docs/appendix/platforms> has 
been selected.

If you're using v201206, then you could also check out the 
query<https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService#query>
 operation 
of the CampaignCriterionService to do the same thing using 
AWQL<https://developers.google.com/adwords/api/docs/guides/awql> instead 
of a predicate; AWQL is a recent addition to the AdWords API that lets you 
select objects using an SQL-like syntax.
  
Regards,

Ewan

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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

Reply via email to