Hi Ivan,

The selector names and the fields it will populate are available here:  
http://code.google.com/apis/adwords/docs/appendix/selectorfields.html#v201109-CampaignCriterionService
 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, 9 March 2012 22:57:33 UTC+5:30, i...@mbxg.com wrote:
>
> Hi All,
>
> I am retrieving CampaignCriteria using the CampaignCriterionService and 
> casting them to Location object types.  I want to differentiate the 
> location targeting using the displayType field but it is not being 
> populated. Do I need to specify the field in the selector?
>
> foreach (GoogleApi.CampaignCriterion temptarget in objCampTargetpage.entries)
> {
>  if (temptarget.criterion.type.Equals(GoogleApi.CriterionType.LOCATION))
> {
> GoogleApi.Location l = (GoogleApi.Location)temptarget.criterion;switch 
> (l.displayType)
> { ...
>
>
> Thanks.
>
> -Ivan
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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