Facebook and Google will be forced to share advertising revenue with Australian media companies after the treasurer, Josh Frydenberg, instructed the competition watchdog to develop a mandatory code of conduct for the digital giants amid a steep decline in adv…