Hi Google Ads API Support team, We saw the following error when making a search stream request. Our request had 1500 Campaign ids in the filter whereas the official documentation says the limit is 20000. Can you please help check?
API Limits and Quotas | Google Ads API | Google for Developers <https://developers.google.com/google-ads/api/docs/best-practices/quotas> "When making a GAQL <https://developers.google.com/google-ads/api/docs/query/overview> query, the maximum number of items within an IN clause is 20,000. If you exceed that limit, a FILTER_HAS_TOO_MANY_VALUES <https://developers.google.com/google-ads/api/reference/rpc/v14/QueryErrorEnum.QueryError#filter_has_too_many_values> error is returned." { "StatusCode": 3, "Details": "Request contains an invalid argument.", "RequestId": "KXtCCvdQaLMrLcpXglIURQ", "Failure": { "errors": [ { "errorCode": { "queryError": "FILTER_HAS_TOO_MANY_VALUES" }, "message": "The number of values (right-hand-side operands) in a filter exceeds the limit." } ], "requestId": "KXtCCvdQaLMrLcpXglIURQ" } GAQL: SELECT campaign.id, campaign.status, campaign.shopping_setting.merchant_id, campaign.performance_max_upgrade.pre_upgrade_campaign FROM campaign WHERE campaign.id IN (...) //1500 campaign Ids AND campaign.status IN ('ENABLED', 'PAUSED', 'REMOVED') AND campaign.advertising_channel_type = 'PERFORMANCE_MAX' Thanks, Anand -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/38a69f13-1625-4616-803b-831f8470f6a7n%40googlegroups.com.