Hi.
How to create matching function CONTAINS_ANY(FeedAttribute[FeedId,14],{"label1"}) for CustomerFeed?
$customerFeed = new CustomerFeed();
$customerFeed->setFeedId($feedId);
$customerFeed->setPlaceholderTypes(7);
$function = sprintf(
'CONTAINS(FeedAttribute[%d, 14], {"label1"})',
$feedId
);
$matchingFunction = new MatchingFunction();
$matchingFunction->setFunctionString($function);
$customerFeed->setMatchingFunction($matchingFunction);
This does not work(