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[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.
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.
$ 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