Hi, is there a way to filter criterions in order to pickup only the one with ParentCriterionId = NULL?
// Create predicates. $selector->setPredicates([ new Predicate('AdGroupId', 'EQUALS', array($adGroupId)), // <== ok new Predicate('CriterionUse', 'EQUALS', array('BIDDABLE')), // <== ok new Predicate('PartitionType', 'EQUALS', array('SUBDIVISION')), // <== NOT ok ]); The statement above doesn't work because I get: [SelectorError.INVALID_PREDICATE_FIELD_NAME @ ; trigger:'PartitionType'] Where can I find the list of fields I can use in Predicate? By reading https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.Predicate I should see somewhere that selector fields are filterable or not. Perhaps only these fields https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.AdGroupCriterion can be filterable? When fetching Criterions is it guaranteed that the first returned result is the root? so I can stop at the first and request only 1 record. Thank you, Tom -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/c746d37b-758f-49b9-aada-1d2806d88f74%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.