Question about the "filter ads code" toggle

What does "filter ads code for safety" do? Or at least, what is its purpose?

Thanks.