In my opinion, put on main tank. Why? The main tank needs the cooling. If put in sump, then when go through the return pump, heats up again.
Also, if fan is in main water, the evaporation rate also cools the water there.
if can put 2 fans lah, then both got cooling effect.