Dear Customer,
If you select Sub-category depth as 2, only two levels of categories will displayed in All Categories layout. And when you click any categories from here, only the ads under the category will displayed and not the Sub-categories.
Thanks.