issue with limit of feed items in the matchingfunction
Hi, I develop an application using php and I have a problem with matchingFunction when I go over 20 items. Here's my 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]); Any help please, Best, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/7b4562f9-c9f1-4b30-9b5f-b63e022c8bd6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
There is any solution with limits of matchingFunction when i go over 20 items
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, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. 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/347c1a98-7809-445f-b0c9-4d26f38639f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.