Currently Strapi doesn't support deep filtering with dynamic zones. To quote the documentation
Querying your API with deep filters may cause performance issues. If one of your deep filtering queries is too slow, we recommend building a custom route with an optimized version of the query.
Deep filtering isn't available for polymorphic relations (eg: Dynamic Zones & Media Fields).
We will need to implement our own logic for returning only projects or only campaigns.
Currently Strapi doesn't support deep filtering with dynamic zones. To quote the documentation
We will need to implement our own logic for returning only projects or only campaigns.