Hi, Thanks for the reply. Sorry that I didn't make it clear.
I'm saying that when using Google Ads API, I can't put PlaceholderType and CriterionType in WHERE clause at the same time, like " WHERE feed_mapping.criterion_type != 'DSA_PAGE_FEED' AND feed_mapping.placeholder_type = 'AD_CUSTOMIZER' ". I will get empty response if I do that. However, when using AdWords API, I'm able to put PlaceholderType and CriterionType in the Predicates at the same time, like " predicates = new [] { new Predicate { field = FeedMapping.Fields.PlaceholderType.FieldName, @operator = PredicateOperator.EQUALS, operatorSpecified = true, values = new []{"10"} }, new Predicate { field = FeedMapping.Fields.CriterionType.FieldName, @operator = PredicateOperator.NOT_EQUALS, operatorSpecified = true, values = new []{"61"} } } " Best, Dongqi On Monday, June 3, 2019 at 5:59:55 AM UTC, adsapiforumadvisor wrote: > > Hi Dongqi, > > Instead of using the digits as filters, could you use the enums as seem in > this documentation > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.enums#google.ads.googleads.v1.enums.PlaceholderTypeEnum.PlaceholderType> > > when retrieving the PlaceholderType using the Google Ads API? > > As for the CiterionTypeId, could you also use the enums as seen in the > DsaPageFeedCriterionField > documentation > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.enums#google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField>? > > Let me know if this helps. > > Thanks and regards, > Peter > Google Ads API Team > > ref:_00D1U1174p._5001UBkn2x: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/86bd84eb-3283-443d-b2c2-a01269d0e89f%40googlegroups.com.