I still think the optimal answer for top attack munitions of whatever flavor is an APS, not steel plates or even ERA.
It depends on the specific kind of top-attack weapon. An FPV drone is not likely to be stopped by any affordable or economic APS. They often attack in large groups now, sometimes double digit numbers, which was not the case early last year or in 2023. An anti-tank missile might be adequately protectable against since they only attack in small single digit numbers. A bomblet can be stopped by rubber matting like on the SPz Puma, or Special Armor like on the XM2001, and the same goes for SADARM and other explosively formed penetrators.
Given what we're seeing in Ukraine it may be that the self-propelled gun's days are over though, to be handed over to tactical ballistic missiles and long-range weapons like GMLRS-ER, at least going by Russian loss rates. If the Russians are losing these things at such rates, it's unlikely anyone else will be able to protect their howitzers so well, given the immense depth of inventory the Russian Army had.
Artillery has always preferred to operate outside the distance of enemy counter battery and this is no longer possible, even with towed pieces, since in the past year (from Summer 2024 to now) we've seen the expansion of the "killing zone" of fighting vehicles (tanks and self-propelled pieces) in Ukraine go from about 10-15 kilometers to over 50 kilometers. The Russians themselves expect that armored vehicles will be at significant threat of destruction as far as 150 kilometers from the FLOT by 2030 perhaps sooner.
This is reflected in the incredible disappearance of self propelled howitzers from the Russian inventory over the past year. With the speed at which modern Western military procurement schemes move, it is much better to simply watch and wait, because the utility of anything procured now will rapidly be nil within literal months.
Towed guns remain the most survivable pieces in the Ukraine War, so long as you can find men to man them, as even motorcycles full of fuel cans and ammo boxes can be rapidly located and destroyed by assault drones. The Russian experience in (frankly any) vehicle operations at the frontlines is instructive as to the long term viability of Cold War-era armored fighting vehicles in particular.
When you can see the entire battlefield, victory is wrought by mass and nothing more, because there's no room for clever tricks. Until we make vehicles that can dig underground tunnels, or make tunnel creation in general a military art again, it's unlikely that self-propelled forces will matter much for the coming few decades.