I don't know if ads count as content posted by users.

It does. Advertisers are also users and ads are generated by them.

Then yeah it's a stupid law.