Hi,
when I go over 20 feed items in the camaping Feed, I have this error :
[CollectionSizeError.TOO_MANY @ operations[0].operand.matchingFunction.lhsOperand[0].value.rhsOperand]
please how can I solve this, I'm working with PHP client library.
Here's the code :
($arrSiteLinkFeedItemsIds this array have over 20 items)
$matchingFunctionString = sprintf(
'AND( IN(FEED_ITEM_ID, {%s}), EQUALS(CONTEXT.DEVICE, "Desktop") )',
implode(',', $arrSiteLinkFeedItemsIds)
);
// Create a campaign feed and its feed function.
$campaignFeed = new CampaignFeed();
$campaignFeed->setFeedId($sitelinksData['sitelinksFeedId']);
$campaignFeed->setCampaignId($campaignId);
$matchingFunction = new MatchingFunction();
$matchingFunction->setFunctionString($matchingFunctionString);
$campaignFeed->setMatchingFunction($matchingFunction);
$campaignFeed->setPlaceholderTypes([self::PLACEHOLDER_SITELINKS]);
Best Regards,