it blocks on the domain level
because youtube serves ads directly through their own services PiHole can't block a Youtube ad - not sure about how hulu serves things
think about it more like an adblock browser extension but setup on the network level rather than on each individual device