The order is the latest rejection of attempts by organisations and politicians to force advertisers and social media platforms to loosen content restrictions