Hi Luis, Do you have any news on this?
In the meanwhile I am getting all FeedItemTargeting Criterions, looping them, and selecting only the relevant (AD_SCHEDULE, for instance), but I think it would be more effective filtering them in the request. Thanks! Zorion On Wednesday, December 5, 2018 at 7:48:46 AM UTC+1, Luis Xander Talag (AdWords API Team) wrote: > > Hi Zorion, > > Thank you for providing detailed information on your concern. I will check > this issue with the team and we will provide you an update as soon as > available. > > Thanks and regards, > Luis > AdWords API Team > > On Wednesday, December 5, 2018 at 7:06:00 AM UTC+8, Zorion wrote: >> >> Hi Experts, >> >> We have an issue with the AdWords API. >> When we try to get the FeedItemTargets from FeedItemTargetService >> restricted to the Criterion with type AdSchedule we can not filter. >> Although the documentation specify that we should be able >> <https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201809-FeedItemTargetService> >> [1]. >> So I don't know what I'm doing wrong. >> >> Sending the request with a filter on "CriteriaType" IN ["AD_SCHEDULE"] we >> receive NO results. >> See request1.xml and reply1.xml attached. >> >> Sending the same request without filtering on "CriteriaType" we receive >> the TWO results we expected. >> See request2.xml and reply2.xml. >> [image: image.png] >> >> We also tried the request with filter on "CriteriaType" EQUALS >> "AD_SCHEDULE" and we also received NO results. >> See request3.xml and reply3.xml. >> >> In short, the differences between requests are only the CriteriaType. >> >> [image: image.png] >> >> >> *$* diff request2.xml request1.xml >> >> 33a34,38 >> >> > <ns0:field>CriteriaType</ns0:field> >> >> > <ns0:operator>IN</ns0:operator> >> >> > <ns0:values>AD_SCHEDULE</ns0:values> >> >> > </ns0:predicates> >> >> > <ns0:predicates> >> >> By the way, trying other values like "AdSchedule" (instead of >> "AD_SCHEDULE") we receive an error: >> SelectorError.INVALID_PREDICATE_ENUM_VALUE @ selector; >> trigger:'AdSchedule' >> >> Same happens getting "LOCATION" instead of "AD_SCHEDULE" >> >> What am I doing wrong? >> >> >> >> Many thanks in advance. >> Zorion >> >> >> [1] >> https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201809-FeedItemTargetService >> >> (See the Field *CriteriaType* / Column *Filterable*) >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/bf981fb3-3df4-451a-84bf-e0fd797bb1c7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
